]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit70ecf514f7622067225763ca57742690f2fff519
tree703eb367c33fc90dbe81b12003b84b992234ea9b
parent57577ac2270ae7637ce77d79c03b469aa8e46a67
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