]> err.no Git - linux-2.6/commitdiff
[WATCHDOG] fix watchdog/at91rm9200_wdt.c compilation
authorAdrian Bunk <bunk@kernel.org>
Fri, 8 Aug 2008 15:57:45 +0000 (18:57 +0300)
committerWim Van Sebroeck <wim@iguana.be>
Sun, 10 Aug 2008 20:23:03 +0000 (20:23 +0000)
This patch fixes the following compile error:

<--  snip  -->

...
  CC      drivers/watchdog/at91rm9200_wdt.o
at91rm9200_wdt.c:188: error: 'at91_wdt_ioctl' undeclared here (not in a
make[3]: *** [drivers/watchdog/at91rm9200_wdt.o] Error 1

<--  snip  -->

Reported-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/at91rm9200_wdt.c

index bacd867dd22e4c36e56353cff77d2401666eb370..d061f0ad2d209872527bc3d41e7ebd098d1ac912 100644 (file)
@@ -128,7 +128,7 @@ static struct watchdog_info at91_wdt_info = {
 /*
  * Handle commands from user-space.
  */
-static long at91_wdt_ioct(struct file *file,
+static long at91_wdt_ioctl(struct file *file,
                                        unsigned int cmd, unsigned long arg)
 {
        void __user *argp = (void __user *)arg;