diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2017-05-24 21:11:03 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-05-27 22:39:30 +0300 |
commit | 012c6741c6aa916e276a0dd2f1c0020041540206 (patch) | |
tree | d95cd5af9403c97fae4abe00c262d3abbb4691a3 /drivers/gpu/drm/drm_ioctl.c | |
parent | ff22ff9e734a9cc165adddcd59f93a1c450a01ce (diff) | |
download | linux-012c6741c6aa916e276a0dd2f1c0020041540206.tar.xz |
switch compat_drm_version() to drm_ioctl_kernel()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/gpu/drm/drm_ioctl.c')
-rw-r--r-- | drivers/gpu/drm/drm_ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_ioctl.c b/drivers/gpu/drm/drm_ioctl.c index 1ead19ced617..c6cba981ecd0 100644 --- a/drivers/gpu/drm/drm_ioctl.c +++ b/drivers/gpu/drm/drm_ioctl.c @@ -461,7 +461,7 @@ static int drm_copy_field(char __user *buf, size_t *buf_len, const char *value) * * Fills in the version information in \p arg. */ -static int drm_version(struct drm_device *dev, void *data, +int drm_version(struct drm_device *dev, void *data, struct drm_file *file_priv) { struct drm_version *version = data; |