linux/ar71xx: (2.6.36) add a missed patch

SVN-Revision: 23319
lede-17.01
Alexandros C. Couloumbis 2010-10-08 12:15:18 +00:00
parent a43f5b5038
commit dc0e630123
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- a/drivers/watchdog/ar71xx_wdt.c
+++ b/drivers/watchdog/ar71xx_wdt.c
@@ -197,7 +197,7 @@ static int ar71xx_wdt_ioctl(struct inode
static const struct file_operations ar71xx_wdt_fops = {
.owner = THIS_MODULE,
.write = ar71xx_wdt_write,
- .ioctl = ar71xx_wdt_ioctl,
+ .unlocked_ioctl = ar71xx_wdt_ioctl,
.open = ar71xx_wdt_open,
.release = ar71xx_wdt_release,
};