Skip to content
Commit 51ee34ab authored by Emilio López's avatar Emilio López Committed by Wim Van Sebroeck
Browse files

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: default avatarEmilio Lopez <emilio@elopez.com.ar>
Reviewed-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
parent 3813ff8b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment