diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-08-08 11:57:45 -0400 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2008-08-10 16:23:03 -0400 |
commit | 3c4fafd65055d16d98cfaff1e99d4b319336b9b4 (patch) | |
tree | b1390525cac2d8c982716fe72ee5ebbe7fa7c0c3 /drivers | |
parent | 58cf41984a3791e7a516641f107ff70bd844ef72 (diff) |
[WATCHDOG] fix watchdog/at91rm9200_wdt.c compilation
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/watchdog/at91rm9200_wdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/at91rm9200_wdt.c b/drivers/watchdog/at91rm9200_wdt.c index bacd867dd22e..d061f0ad2d20 100644 --- a/drivers/watchdog/at91rm9200_wdt.c +++ b/drivers/watchdog/at91rm9200_wdt.c | |||
@@ -128,7 +128,7 @@ static struct watchdog_info at91_wdt_info = { | |||
128 | /* | 128 | /* |
129 | * Handle commands from user-space. | 129 | * Handle commands from user-space. |
130 | */ | 130 | */ |
131 | static long at91_wdt_ioct(struct file *file, | 131 | static long at91_wdt_ioctl(struct file *file, |
132 | unsigned int cmd, unsigned long arg) | 132 | unsigned int cmd, unsigned long arg) |
133 | { | 133 | { |
134 | void __user *argp = (void __user *)arg; | 134 | void __user *argp = (void __user *)arg; |