]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.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>
Tue, 10 Jun 2014 19:39:26 +0000 (21:39 +0200)
commit51ee34ab583a602e35817c020bcc5c437da4a1ee
tree54963c9fddf18325958fffa73d012df9edd0b008
parent3813ff8b38b265b6c25f3946d5850273deba03a3
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