git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3813ff8
)
watchdog: sunxi: Fix compilation with C=2
author
Emilio López
<emilio@elopez.com.ar>
Fri, 4 Apr 2014 17:24:25 +0000
(14:24 -0300)
committer
Wim Van Sebroeck
<wim@iguana.be>
Tue, 10 Jun 2014 19:39:26 +0000
(21:39 +0200)
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
patch
|
blob
|
history
diff --cc
drivers/watchdog/sunxi_wdt.c
Simple merge