From: Dave Airlie Date: Sun, 1 Sep 2013 23:52:55 +0000 (+1000) Subject: drm/nouveau: fix up 32-bit ioctls and device wake up. X-Git-Tag: v3.12-rc2~3^2~25 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2254f637dbd18f6432da526552d19a616ffbf8d6;p=platform%2Fkernel%2Flinux-exynos.git drm/nouveau: fix up 32-bit ioctls and device wake up. Noticed by kbuild test robot. Signed-off-by: Dave Airlie --- diff --git a/drivers/gpu/drm/nouveau/nouveau_ioc32.c b/drivers/gpu/drm/nouveau/nouveau_ioc32.c index 08214bc..c1a7e5a 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, if (fn != NULL) ret = (*fn)(filp, cmd, arg); else - ret = drm_ioctl(filp, cmd, arg); + ret = nouveau_drm_ioctl(filp, cmd, arg); return ret; } diff --git a/drivers/gpu/drm/nouveau/nouveau_ioctl.h b/drivers/gpu/drm/nouveau/nouveau_ioctl.h index ef2b290..3b9f2e5 100644 --- a/drivers/gpu/drm/nouveau/nouveau_ioctl.h +++ b/drivers/gpu/drm/nouveau/nouveau_ioctl.h @@ -2,5 +2,6 @@ #define __NOUVEAU_IOCTL_H__ long nouveau_compat_ioctl(struct file *, unsigned int cmd, unsigned long arg); +long nouveau_drm_ioctl(struct file *, unsigned int cmd, unsigned long arg); #endif