diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-10-21 18:42:11 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-10-21 18:42:11 +0000 |
commit | c5cabb4673f63737166e61bd4b7e00cb73d28f50 (patch) | |
tree | 5d1ef1e5e0cc196d1a4e4480d2aee4d54ed53f88 /target/linux/ar71xx/files/drivers/watchdog | |
parent | 48c1d5e50cd53955f0ada0723cc1523b053ef814 (diff) | |
download | master-187ad058-c5cabb4673f63737166e61bd4b7e00cb73d28f50.tar.gz master-187ad058-c5cabb4673f63737166e61bd4b7e00cb73d28f50.tar.bz2 master-187ad058-c5cabb4673f63737166e61bd4b7e00cb73d28f50.zip |
ar71xx: improve 2.6.36 compatibility. also, instead of adding a forward port patch to the 2.6.36 patches, add a backport patch to 2.6.32
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23574 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/drivers/watchdog')
-rw-r--r-- | target/linux/ar71xx/files/drivers/watchdog/ar71xx_wdt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ar71xx/files/drivers/watchdog/ar71xx_wdt.c b/target/linux/ar71xx/files/drivers/watchdog/ar71xx_wdt.c index b5bc254f8b..5f8104bcdf 100644 --- a/target/linux/ar71xx/files/drivers/watchdog/ar71xx_wdt.c +++ b/target/linux/ar71xx/files/drivers/watchdog/ar71xx_wdt.c @@ -146,7 +146,7 @@ static struct watchdog_info ar71xx_wdt_info = { .identity = "AR71XX watchdog", }; -static int ar71xx_wdt_ioctl(struct inode *inode, struct file *file, +static long ar71xx_wdt_ioctl(struct file *file, unsigned int cmd, unsigned long arg) { int t; @@ -197,7 +197,7 @@ static int ar71xx_wdt_ioctl(struct inode *inode, struct file *file, 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, }; |