From 1c0a437fa20e8c3fb971cd8947754a9b274bea76 Mon Sep 17 00:00:00 2001 From: Jon Smirl Date: Thu, 30 Sep 2004 19:26:35 +0000 Subject: Move things around to reduce public symbols and even out files. Switch to get_order from drm_order. --- linux-core/drm_ioctl.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'linux-core/drm_ioctl.c') diff --git a/linux-core/drm_ioctl.c b/linux-core/drm_ioctl.c index 6bccbcad..7221e5ba 100644 --- a/linux-core/drm_ioctl.c +++ b/linux-core/drm_ioctl.c @@ -304,6 +304,17 @@ int drm_getstats( struct inode *inode, struct file *filp, return 0; } +/** + * Setversion ioctl. + * + * \param inode device inode. + * \param filp file pointer. + * \param cmd command. + * \param arg user argument, pointing to a drm_lock structure. + * \return zero on success or negative number on failure. + * + * Sets the requested interface version + */ int drm_setversion(DRM_IOCTL_ARGS) { DRM_DEVICE; @@ -345,3 +356,11 @@ int drm_setversion(DRM_IOCTL_ARGS) } return 0; } + +/** No-op ioctl. */ +int drm_noop(struct inode *inode, struct file *filp, unsigned int cmd, + unsigned long arg) +{ + DRM_DEBUG("\n"); + return 0; +} -- cgit v1.2.3