watchdog: omap_wdt.c: fix the WDIOC_GETBOOTSTATUS ioctl if not implemented.
authorShubhrajyoti D <shubhrajyoti@ti.com>
Wed, 4 Jan 2012 14:15:28 +0000 (19:45 +0530)
committerWim Van Sebroeck <wim@iguana.be>
Fri, 6 Jan 2012 15:33:31 +0000 (16:33 +0100)
commite2bf7c4c22939bd83814d8da40a352d246030b1b
tree703eb367c33fc90dbe81b12003b84b992234ea9b
parentdc3c56b703dad4aec8a9b3dd86f03a90d0c26a2d
watchdog: omap_wdt.c: fix the WDIOC_GETBOOTSTATUS ioctl if not implemented.

WDIOC_GETBOOTSTATUS ioctl is imlemented for cpu_is_omap16xx and cpu_is_omap24xx
cpus only. For other cpus it falls through to WDIOC_KEEPALIVE.
This patch prevents the fall through.

Cc: sricharan <r.sricharan@ti.com>
Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/omap_wdt.c