[PATCH] watchdog: sunxi: Fix compilation with C=2

Guenter Roeck linux at roeck-us.net
Fri Apr 4 11:02:05 PDT 2014

On 04/04/2014 10:24 AM, Emilio López wrote:
> 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 López <emilio at elopez.com.ar>

Reviewed-by: Guenter Roeck <linux at roeck-us.net>

More information about the linux-arm-kernel mailing list