提交 0bead7cd 编写于 作者: A Adrian Bunk 提交者: Dave Airlie

drm: make drm_io_prot static.

This patch makes the needlessly global drm_io_prot() static.
Signed-off-by: NAdrian Bunk <bunk@stusta.de>
Signed-off-by: NDave Airlie <airlied@linux.ie>
上级 53793971
...@@ -41,7 +41,7 @@ ...@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册