From: Adrian Bunk Date: Fri, 8 Aug 2008 15:57:45 +0000 (+0300) Subject: [WATCHDOG] fix watchdog/at91rm9200_wdt.c compilation X-Git-Tag: v2.6.27-rc3~55^2~3 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=3c4fafd65055d16d98cfaff1e99d4b319336b9b4;p=linux-2.6-omap-h63xx.git [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 Signed-off-by: Adrian Bunk Signed-off-by: Wim Van Sebroeck --- diff --git a/drivers/watchdog/at91rm9200_wdt.c b/drivers/watchdog/at91rm9200_wdt.c index bacd867dd22..d061f0ad2d2 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;