watchdog: sch311x_wdt: fix printk condition
authorDan Carpenter <error27@gmail.com>
Wed, 23 Feb 2011 20:26:01 +0000 (23:26 +0300)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 14 Mar 2011 10:40:21 +0000 (10:40 +0000)
commit6899a8e13f76f37029084c891312e2cfad1305c8
tree24c888c2e98fb3bfd4537cc3a6e9b0292984392e
parenta450c786a5769745cc8fa873a66ed3c377875ead
watchdog: sch311x_wdt: fix printk condition

"==" has higher precedence than "&".  Since
if (sch311x_sio_inb(sio_config_port, 0x30) & (0x01 == 0)) is always
false the message is never printed.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/sch311x_wdt.c