drm: make drm_io_prot static.
authorAdrian Bunk <bunk@stusta.de>
Sun, 11 Mar 2007 00:41:16 +0000 (11:41 +1100)
committerDave Airlie <airlied@linux.ie>
Sun, 11 Mar 2007 01:08:15 +0000 (12:08 +1100)
This patch makes the needlessly global drm_io_prot() static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/char/drm/drm_vm.c

index 9e3f259..239ac33 100644 (file)
@@ -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);