summaryrefslogtreecommitdiffstats
path: root/sys/dev/drm/drm_bufs.c
diff options
context:
space:
mode:
authorrnoland <rnoland@FreeBSD.org>2009-02-27 06:01:42 +0000
committerrnoland <rnoland@FreeBSD.org>2009-02-27 06:01:42 +0000
commit01cc5b6616afb7ff0d494ccddc3dc721ad54ef68 (patch)
tree5982a52b99c756bbe8a1d659eeaf2dfea5bdc1fa /sys/dev/drm/drm_bufs.c
parent56525f0f8e34b88fbd99b36293d7d50e4925c846 (diff)
downloadFreeBSD-src-01cc5b6616afb7ff0d494ccddc3dc721ad54ef68.zip
FreeBSD-src-01cc5b6616afb7ff0d494ccddc3dc721ad54ef68.tar.gz
Fix up some ioctl permissions issues long overlooked.
Submitted by: jkim@ MFC after: 2 weeks
Diffstat (limited to 'sys/dev/drm/drm_bufs.c')
-rw-r--r--sys/dev/drm/drm_bufs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/drm/drm_bufs.c b/sys/dev/drm/drm_bufs.c
index 7c01fb6..e70ce8d 100644
--- a/sys/dev/drm/drm_bufs.c
+++ b/sys/dev/drm/drm_bufs.c
@@ -880,8 +880,7 @@ int drm_addbufs_pci(struct drm_device *dev, struct drm_buf_desc *request)
return ret;
}
-int drm_addbufs_ioctl(struct drm_device *dev, void *data,
- struct drm_file *file_priv)
+int drm_addbufs(struct drm_device *dev, void *data, struct drm_file *file_priv)
{
struct drm_buf_desc *request = data;
int err;
OpenPOWER on IntegriCloud