diff options
author | Adrian Bunk <bunk@stusta.de> | 2007-03-10 19:41:16 -0500 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2007-03-10 20:08:15 -0500 |
commit | 0bead7cdc94b4897f3d92db6170737a2da527134 (patch) | |
tree | 40cf809f28e0e23ad4bace406032a544154ab8f0 /drivers/char/drm | |
parent | 5379397182a7b5fa1c68ceaefe311ce4c1d04b2a (diff) |
drm: make drm_io_prot static.
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>
Diffstat (limited to 'drivers/char/drm')
-rw-r--r-- | drivers/char/drm/drm_vm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/drm/drm_vm.c b/drivers/char/drm/drm_vm.c index 9e3f25946590..239ac33a6e10 100644 --- a/drivers/char/drm/drm_vm.c +++ b/drivers/char/drm/drm_vm.c | |||
@@ -41,7 +41,7 @@ | |||
41 | static void drm_vm_open(struct vm_area_struct *vma); | 41 | static void drm_vm_open(struct vm_area_struct *vma); |
42 | static void drm_vm_close(struct vm_area_struct *vma); | 42 | static void drm_vm_close(struct vm_area_struct *vma); |
43 | 43 | ||
44 | pgprot_t drm_io_prot(uint32_t map_type, struct vm_area_struct *vma) | 44 | static pgprot_t drm_io_prot(uint32_t map_type, struct vm_area_struct *vma) |
45 | { | 45 | { |
46 | pgprot_t tmp = vm_get_page_prot(vma->vm_flags); | 46 | pgprot_t tmp = vm_get_page_prot(vma->vm_flags); |
47 | 47 | ||