diff options
author | Daniel Vetter | 2014-09-10 12:43:55 +0200 |
---|---|---|
committer | Daniel Vetter | 2014-09-12 15:27:47 +0200 |
commit | 78238757ebab54bf0d546dabe119f3a158d418b4 (patch) | |
tree | b3f5de66bcb7a0da4f3986542bd948f771709457 /include/drm | |
parent | 44af3f5c6a2dc0358121b5ecf272361b3290649e (diff) |
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.h | 22 |
1 files changed, 3 insertions, 19 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h index ef675dbaccee..ac4ca4b59fdf 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); |