Messages in this thread Patch in this message | | | Date | Fri, 8 Aug 2008 18:57:45 +0300 | From | Adrian Bunk <> | Subject | [2.6 patch] 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>
--- 0cbc8aa3114bc48a868de8cc9a1706b6c81dd3f4 diff --git a/drivers/watchdog/at91rm9200_wdt.c b/drivers/watchdog/at91rm9200_wdt.c index 2313f44..09363f1 100644 --- a/drivers/watchdog/at91rm9200_wdt.c +++ b/drivers/watchdog/at91rm9200_wdt.c @@ -129,7 +129,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;
| |