projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a6767e
)
mips: ath79: Fix compiler warning on const assignment
author
Marek Vasut
<marex@denx.de>
Fri, 6 May 2016 18:10:35 +0000
(20:10 +0200)
committer
Daniel Schwierzeck
<daniel.schwierzeck@gmail.com>
Fri, 20 May 2016 23:36:38 +0000
(
01:36
+0200)
The assignment const T var; var = value; is illegal, since var is
constant. Drop the const to fix the compiler warning.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Cc: Wills Wang <wills.wang@live.com>
arch/mips/mach-ath79/reset.c
patch
|
blob
|
history
diff --git
a/arch/mips/mach-ath79/reset.c
b/arch/mips/mach-ath79/reset.c
index
2ea2f8d
..
ba38609
100644
(file)
--- a/
arch/mips/mach-ath79/reset.c
+++ b/
arch/mips/mach-ath79/reset.c
@@
-46,7
+46,7
@@
void _machine_restart(void)
u32 get_bootstrap(void)
{
-
const
void __iomem *base;
+ void __iomem *base;
u32 reg = 0;
base = map_physmem(AR71XX_RESET_BASE, AR71XX_RESET_SIZE,