Skip to content

Commit

Permalink
watchdog: Fix warning
Browse files Browse the repository at this point in the history
This seems to have popped up after the recent merges:

drivers/watchdog/w83697ug_wdt.c: In function ‘w83697ug_select_wd_register’:
drivers/watchdog/w83697ug_wdt.c:105: warning: ‘return’ with a value, in function returning void

Signed-off-by: Alan Cox <[email protected]>
Acked-by: Wim Van Sebroeck <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Alan Cox authored and torvalds committed Oct 23, 2008
1 parent a8ddac7 commit 7dc9b48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/watchdog/w83697ug_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ static void w83697ug_select_wd_register(void)

} else {
printk(KERN_ERR PFX "No W83697UG/UF could be found\n");
return -EIO;
return;
}

outb_p(0x07, WDT_EFER); /* point to logical device number reg */
Expand Down

0 comments on commit 7dc9b48

Please sign in to comment.