Skip to content

Commit 3c4fafd

Browse files
AdrianBunkWim Van Sebroeck
authored andcommitted
[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>
1 parent 58cf419 commit 3c4fafd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/watchdog/at91rm9200_wdt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ static struct watchdog_info at91_wdt_info = {
128128
/*
129129
* Handle commands from user-space.
130130
*/
131-
static long at91_wdt_ioct(struct file *file,
131+
static long at91_wdt_ioctl(struct file *file,
132132
unsigned int cmd, unsigned long arg)
133133
{
134134
void __user *argp = (void __user *)arg;

0 commit comments

Comments
 (0)