compat_ioctl: move WDIOC handling into wdt drivers
[linux-2.6-microblaze.git] / drivers / watchdog / f71808e_wdt.c
index e46104c..a3c44d7 100644 (file)
@@ -669,6 +669,7 @@ static const struct file_operations watchdog_fops = {
        .release        = watchdog_release,
        .write          = watchdog_write,
        .unlocked_ioctl = watchdog_ioctl,
+       .compat_ioctl   = compat_ptr_ioctl,
 };
 
 static struct miscdevice watchdog_miscdev = {