aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2013-09-01 19:52:55 -0400
committerDave Airlie <airlied@redhat.com>2013-09-01 19:52:55 -0400
commit2254f637dbd18f6432da526552d19a616ffbf8d6 (patch)
treec526475bcd8c7c82a8da39aa25e466a966d17072
parenta5b6f74e64f42ea2cfc0f04be59369471cbc8a94 (diff)
drm/nouveau: fix up 32-bit ioctls and device wake up.
Noticed by kbuild test robot. Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_ioc32.c2
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_ioctl.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_ioc32.c b/drivers/gpu/drm/nouveau/nouveau_ioc32.c
index 08214bcdcb12..c1a7e5a73a26 100644
--- a/drivers/gpu/drm/nouveau/nouveau_ioc32.c
+++ b/drivers/gpu/drm/nouveau/nouveau_ioc32.c
@@ -63,7 +63,7 @@ long nouveau_compat_ioctl(struct file *filp, unsigned int cmd,
63 if (fn != NULL) 63 if (fn != NULL)
64 ret = (*fn)(filp, cmd, arg); 64 ret = (*fn)(filp, cmd, arg);
65 else 65 else
66 ret = drm_ioctl(filp, cmd, arg); 66 ret = nouveau_drm_ioctl(filp, cmd, arg);
67 67
68 return ret; 68 return ret;
69} 69}
diff --git a/drivers/gpu/drm/nouveau/nouveau_ioctl.h b/drivers/gpu/drm/nouveau/nouveau_ioctl.h
index ef2b2906d9e6..3b9f2e5463a7 100644
--- a/drivers/gpu/drm/nouveau/nouveau_ioctl.h
+++ b/drivers/gpu/drm/nouveau/nouveau_ioctl.h
@@ -2,5 +2,6 @@
2#define __NOUVEAU_IOCTL_H__ 2#define __NOUVEAU_IOCTL_H__
3 3
4long nouveau_compat_ioctl(struct file *, unsigned int cmd, unsigned long arg); 4long nouveau_compat_ioctl(struct file *, unsigned int cmd, unsigned long arg);
5long nouveau_drm_ioctl(struct file *, unsigned int cmd, unsigned long arg);
5 6
6#endif 7#endif