drm: Move drm_vm_open_locked into drm_internal.h
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 23 Sep 2014 13:46:50 +0000 (15:46 +0200)
committerDave Airlie <airlied@redhat.com>
Wed, 24 Sep 2014 01:43:20 +0000 (11:43 +1000)
Leftover from my previous header cleanup.

This depends upon the patch to rework exynos mmap support, otherwise
it'll break exynos.

Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_internal.h
drivers/gpu/drm/drm_vm.c
include/drm/drmP.h

index d27faae45f1b7977c703d46039a0fc14488ee117..05624561118a0c997433a5e69c8750d92eb1fa25 100644 (file)
@@ -37,6 +37,7 @@ int drm_irq_by_busid(struct drm_device *dev, void *data,
 
 /* drm_vm.c */
 int drm_vma_info(struct seq_file *m, void *data);
+void drm_vm_open_locked(struct drm_device *dev, struct vm_area_struct *vma);
 void drm_vm_close_locked(struct drm_device *dev, struct vm_area_struct *vma);
 
 /* drm_prime.c */
index 28739d4015964c86beb51e18916c901a62c246bc..4a2c328959e59348ef7ee5f4bb0797835cd92ba5 100644 (file)
@@ -417,7 +417,6 @@ void drm_vm_open_locked(struct drm_device *dev,
                list_add(&vma_entry->head, &dev->vmalist);
        }
 }
-EXPORT_SYMBOL_GPL(drm_vm_open_locked);
 
 static void drm_vm_open(struct vm_area_struct *vma)
 {
index 40c999019d9e3fc79f238c7bacdec7f94839dbde..7b545975afd95ce82d8e68df67cc9d2494183b7e 100644 (file)
@@ -961,7 +961,6 @@ extern ssize_t drm_read(struct file *filp, char __user *buffer,
 extern int drm_release(struct inode *inode, struct file *filp);
 
                                /* Mapping support (drm_vm.h) */
-extern void drm_vm_open_locked(struct drm_device *dev, struct vm_area_struct *vma);
 extern unsigned int drm_poll(struct file *filp, struct poll_table_struct *wait);
 
 /* Misc. IOCTL support (drm_ioctl.c) */