]> git.karo-electronics.de Git - karo-tx-linux.git/commit
watchdog: sunxi: Fix compilation with C=2
authorEmilio López <emilio@elopez.com.ar>
Fri, 4 Apr 2014 17:24:25 +0000 (14:24 -0300)
committerWim Van Sebroeck <wim@iguana.be>
Sun, 25 May 2014 08:19:12 +0000 (10:19 +0200)
commitfc2aa95157b964e65b4218cda30dbfc96c77f3fc
treedf9a28300aab8eab1d9524d8af93e0b060ed7e8e
parent4a4d559006e786b470f8695d824494421a423c71
watchdog: sunxi: Fix compilation with C=2

When compiling sunxi_defconfig while using C=2, the following error
causes the compilation to fail:

    drivers/watchdog/sunxi_wdt.c:60:15: error: constant 0b0001 is not a valid number

Fix it by using hex notation instead of the non-standard binary one

Signed-off-by: Emilio Lopez <emilio@elopez.com.ar>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/sunxi_wdt.c