This patch intends to implement the WDIOC_GETBOOTSTATUS ioctl for the omap3 and omap4. Signed-off-by: Shubhrajyoti D <shubhrajyoti@xxxxxx> --- drivers/watchdog/omap_wdt.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/watchdog/omap_wdt.c b/drivers/watchdog/omap_wdt.c index 4b33e3f..5395a4c 100644 --- a/drivers/watchdog/omap_wdt.c +++ b/drivers/watchdog/omap_wdt.c @@ -229,7 +229,7 @@ static long omap_wdt_ioctl(struct file *file, unsigned int cmd, if (cpu_is_omap16xx()) return put_user(__raw_readw(ARM_SYSST), (int __user *)arg); - if (cpu_is_omap24xx()) + if (cpu_is_omap24xx() || cpu_is_omap34xx() || cpu_is_omap44xx()) return put_user(omap_prcm_get_reset_sources(), (int __user *)arg); return put_user(0, (int __user *)arg); -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html