summaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2014-09-10 12:43:55 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-09-12 15:27:47 +0200
commit78238757ebab54bf0d546dabe119f3a158d418b4 (patch)
treeb3f5de66bcb7a0da4f3986542bd948f771709457 /include/drm
parent44af3f5c6a2dc0358121b5ecf272361b3290649e (diff)
downloadop-kernel-dev-78238757ebab54bf0d546dabe119f3a158d418b4.zip
op-kernel-dev-78238757ebab54bf0d546dabe119f3a158d418b4.tar.gz
drm: Purge ioctl forward declarations from drmP.h
If we push down the ioctl table in drm_ioctl.c all the forward declarations in drmP.h are not required any more. v2: Fold in fixup from Fenugguang Wu to declare functions as static. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/drmP.h22
1 files changed, 3 insertions, 19 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h
index ef675db..ac4ca4b 100644
--- a/include/drm/drmP.h
+++ b/include/drm/drmP.h
@@ -1097,25 +1097,9 @@ extern int drm_mmap(struct file *filp, struct vm_area_struct *vma);
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.h) */
-extern int drm_getunique(struct drm_device *dev, void *data,
- struct drm_file *file_priv);
-extern int drm_setunique(struct drm_device *dev, void *data,
- struct drm_file *file_priv);
-extern int drm_getmap(struct drm_device *dev, void *data,
- struct drm_file *file_priv);
-extern int drm_getclient(struct drm_device *dev, void *data,
- struct drm_file *file_priv);
-extern int drm_getstats(struct drm_device *dev, void *data,
- struct drm_file *file_priv);
-extern int drm_getcap(struct drm_device *dev, void *data,
- struct drm_file *file_priv);
-extern int drm_setclientcap(struct drm_device *dev, void *data,
- struct drm_file *file_priv);
-extern int drm_setversion(struct drm_device *dev, void *data,
- struct drm_file *file_priv);
-extern int drm_noop(struct drm_device *dev, void *data,
- struct drm_file *file_priv);
+/* Misc. IOCTL support (drm_ioctl.c) */
+int drm_noop(struct drm_device *dev, void *data,
+ struct drm_file *file_priv);
/* Cache management (drm_cache.c) */
void drm_clflush_pages(struct page *pages[], unsigned long num_pages);
OpenPOWER on IntegriCloud