diff options
author | Jon Smirl <jonsmirl@yahoo.com> | 2004-09-30 19:26:35 +0000 |
---|---|---|
committer | Jon Smirl <jonsmirl@yahoo.com> | 2004-09-30 19:26:35 +0000 |
commit | 1c0a437fa20e8c3fb971cd8947754a9b274bea76 (patch) | |
tree | c0b73653cb99426e8f869115755b81fed67f3f9c /linux-core/drm_ioctl.c | |
parent | 3aef3841d0c8099a97a56a285f0a21d9147405bd (diff) |
Move things around to reduce public symbols and even out files. Switch to
get_order from drm_order.
Diffstat (limited to 'linux-core/drm_ioctl.c')
-rw-r--r-- | linux-core/drm_ioctl.c | 19 |
1 files changed, 19 insertions, 0 deletions
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; +} |