From: Adrian Bunk Date: Sun, 11 Mar 2007 00:41:16 +0000 (+1100) Subject: drm: make drm_io_prot static. X-Git-Tag: upstream/snapshot3+hdmi~34659^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0bead7cdc94b4897f3d92db6170737a2da527134;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git drm: make drm_io_prot static. This patch makes the needlessly global drm_io_prot() static. Signed-off-by: Adrian Bunk Signed-off-by: Dave Airlie --- diff --git a/drivers/char/drm/drm_vm.c b/drivers/char/drm/drm_vm.c index 9e3f259..239ac33 100644 --- a/drivers/char/drm/drm_vm.c +++ b/drivers/char/drm/drm_vm.c @@ -41,7 +41,7 @@ static void drm_vm_open(struct vm_area_struct *vma); static void drm_vm_close(struct vm_area_struct *vma); -pgprot_t drm_io_prot(uint32_t map_type, struct vm_area_struct *vma) +static pgprot_t drm_io_prot(uint32_t map_type, struct vm_area_struct *vma) { pgprot_t tmp = vm_get_page_prot(vma->vm_flags);