forked from luck/tmp_suning_uos_patched
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>
This commit is contained in:
parent
5379397182
commit
0bead7cdc9
@ -41,7 +41,7 @@
|
|||||||
static void drm_vm_open(struct vm_area_struct *vma);
|
static void drm_vm_open(struct vm_area_struct *vma);
|
||||||
static void drm_vm_close(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);
|
pgprot_t tmp = vm_get_page_prot(vma->vm_flags);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user