Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0bead7cd authored by Adrian Bunk's avatar Adrian Bunk Committed by Dave Airlie
Browse files

drm: make drm_io_prot static.



This patch makes the needlessly global drm_io_prot() static.

Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarDave Airlie <airlied@linux.ie>
parent 53793971
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);