[package] add Marvell orion watchdog timer module
[openwrt.git] / target / linux / ar71xx / files / drivers / watchdog / ar71xx_wdt.c
index 976b23a..abe157c 100644 (file)
@@ -156,7 +156,7 @@ static long ar71xx_wdt_ioctl(struct file *file,
        case WDIOC_GETSUPPORT:
                ret = copy_to_user((struct watchdog_info *)arg,
                                   &ar71xx_wdt_info,
-                                  sizeof(&ar71xx_wdt_info)) ? -EFAULT : 0;
+                                  sizeof(ar71xx_wdt_info)) ? -EFAULT : 0;
                break;
 
        case WDIOC_GETSTATUS:
This page took 0.021776 seconds and 4 git commands to generate.