]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
drm/nouveau: fix up 32-bit ioctls and device wake up.
authorDave Airlie <airlied@redhat.com>
Sun, 1 Sep 2013 23:52:55 +0000 (09:52 +1000)
committerDave Airlie <airlied@redhat.com>
Sun, 1 Sep 2013 23:52:55 +0000 (09:52 +1000)
Noticed by kbuild test robot.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/nouveau/nouveau_ioc32.c
drivers/gpu/drm/nouveau/nouveau_ioctl.h

index 08214bcdcb12c789347e739cebc34113ddb38ecf..c1a7e5a73a26b0c98886d3583400507b4fc65866 100644 (file)
@@ -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;
 }
index ef2b2906d9e6f551c1b718e96afd5d573b7ecbd8..3b9f2e5463a73c2717e8d67d39dfff00f75a5cba 100644 (file)
@@ -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