summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2016-05-06 20:10:35 +0200
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2016-05-21 01:36:38 +0200
commit43a092ffdd5edd6a66e8e9ec34372f3abd396486 (patch)
tree5f2b6831251a4e3e448969b18304a2ffc5f79d39 /arch/mips
parent0a6767efabedbddc2351d14695aa3a7d63657e2c (diff)
downloadtalos-obmc-uboot-43a092ffdd5edd6a66e8e9ec34372f3abd396486.tar.gz
talos-obmc-uboot-43a092ffdd5edd6a66e8e9ec34372f3abd396486.zip
mips: ath79: Fix compiler warning on const assignment
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>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/mach-ath79/reset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/mach-ath79/reset.c b/arch/mips/mach-ath79/reset.c
index 2ea2f8d3ac..ba38609a16 100644
--- 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,
OpenPOWER on IntegriCloud