]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/hid/hidraw.c
HID: hidraw: add compatibility ioctl() for 32-bit applications.
[mv-sheeva.git] / drivers / hid / hidraw.c
index 68d087f63c02d278a06abb12c42bf015c673c99b..468e87b53ed26aadb86ed6b127599ea669a6aa99 100644 (file)
@@ -344,6 +344,9 @@ static const struct file_operations hidraw_ops = {
        .open =         hidraw_open,
        .release =      hidraw_release,
        .unlocked_ioctl = hidraw_ioctl,
+#ifdef CONFIG_COMPAT
+       .compat_ioctl   = hidraw_ioctl,
+#endif
        .llseek =       noop_llseek,
 };