diff options
author | Alan Cox <alan@redhat.com> | 2008-07-04 02:51:32 -0400 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2008-08-06 09:03:11 -0400 |
commit | c9488520512df659ad21df5d100b52fed96bdf07 (patch) | |
tree | 72e64609e01ff031581f8b38da9dd9348a270b72 /drivers/watchdog/pcwd_usb.c | |
parent | 089ab0791d127e8ada526c4b4d18b7584be8acf0 (diff) |
[WATCHDOG] pcwd: a couple of watchdogs escaped conversion
Fix them up. Once we know the long term plan the watchdogs can all get
shrunk massively anyway
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'drivers/watchdog/pcwd_usb.c')
-rw-r--r-- | drivers/watchdog/pcwd_usb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/watchdog/pcwd_usb.c b/drivers/watchdog/pcwd_usb.c index 825102a33910..bc399cf65cf7 100644 --- a/drivers/watchdog/pcwd_usb.c +++ b/drivers/watchdog/pcwd_usb.c | |||
@@ -368,8 +368,8 @@ static ssize_t usb_pcwd_write(struct file *file, const char __user *data, | |||
368 | return len; | 368 | return len; |
369 | } | 369 | } |
370 | 370 | ||
371 | static int usb_pcwd_ioctl(struct inode *inode, struct file *file, | 371 | static long usb_pcwd_ioctl(struct file *file, unsigned int cmd, |
372 | unsigned int cmd, unsigned long arg) | 372 | unsigned long arg) |
373 | { | 373 | { |
374 | void __user *argp = (void __user *)arg; | 374 | void __user *argp = (void __user *)arg; |
375 | int __user *p = argp; | 375 | int __user *p = argp; |
@@ -534,7 +534,7 @@ static const struct file_operations usb_pcwd_fops = { | |||
534 | .owner = THIS_MODULE, | 534 | .owner = THIS_MODULE, |
535 | .llseek = no_llseek, | 535 | .llseek = no_llseek, |
536 | .write = usb_pcwd_write, | 536 | .write = usb_pcwd_write, |
537 | .ioctl = usb_pcwd_ioctl, | 537 | .unlocked_ioctl = usb_pcwd_ioctl, |
538 | .open = usb_pcwd_open, | 538 | .open = usb_pcwd_open, |
539 | .release = usb_pcwd_release, | 539 | .release = usb_pcwd_release, |
540 | }; | 540 | }; |