summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/at91rm9200_wdt.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-08-08 18:57:45 +0300
committerWim Van Sebroeck <wim@iguana.be>2008-08-10 20:23:03 +0000
commit3c4fafd65055d16d98cfaff1e99d4b319336b9b4 (patch)
treeb1390525cac2d8c982716fe72ee5ebbe7fa7c0c3 /drivers/watchdog/at91rm9200_wdt.c
parent58cf41984a3791e7a516641f107ff70bd844ef72 (diff)
downloadlinux-stable-3c4fafd65055d16d98cfaff1e99d4b319336b9b4.tar.gz
linux-stable-3c4fafd65055d16d98cfaff1e99d4b319336b9b4.tar.bz2
linux-stable-3c4fafd65055d16d98cfaff1e99d4b319336b9b4.zip
[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/watchdog/at91rm9200_wdt.c')
-rw-r--r--drivers/watchdog/at91rm9200_wdt.c2
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 = {
/*
* 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;