From 2adda3cec6b01b487d89bb5a5473d4d67622c7f4 Mon Sep 17 00:00:00 2001 From: juhosg Date: Fri, 12 Nov 2010 18:51:04 +0000 Subject: ar71xx: wrap long lines (build errors has been fixed - juhosg) Signed-off-by: Arnaud Lacombe git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23977 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar71xx/files/drivers/watchdog/ar71xx_wdt.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'target/linux/ar71xx/files/drivers/watchdog') diff --git a/target/linux/ar71xx/files/drivers/watchdog/ar71xx_wdt.c b/target/linux/ar71xx/files/drivers/watchdog/ar71xx_wdt.c index 6b5ff21a9b..b8b2b03c0e 100644 --- a/target/linux/ar71xx/files/drivers/watchdog/ar71xx_wdt.c +++ b/target/linux/ar71xx/files/drivers/watchdog/ar71xx_wdt.c @@ -215,9 +215,8 @@ static int __devinit ar71xx_wdt_probe(struct platform_device *pdev) max_timeout = (0xfffffffful / ar71xx_ahb_freq); wdt_timeout = (max_timeout < WDT_TIMEOUT) ? max_timeout : WDT_TIMEOUT; - boot_status = - (ar71xx_reset_rr(AR71XX_RESET_REG_WDOG_CTRL) & WDOG_CTRL_LAST_RESET) ? - WDIOF_CARDRESET : 0; + if (ar71xx_reset_rr(AR71XX_RESET_REG_WDOG_CTRL) & WDOG_CTRL_LAST_RESET) + boot_status = WDIOF_CARDRESET; ret = misc_register(&ar71xx_wdt_miscdev); if (ret) -- cgit v1.2.3