ARM: mv78xx0: fix win_cfg_base prototype
authorArnd Bergmann <arnd@arndb.de>
Sun, 5 Aug 2012 15:04:42 +0000 (15:04 +0000)
committerArnd Bergmann <arnd@arndb.de>
Mon, 13 Aug 2012 19:11:28 +0000 (21:11 +0200)
commite18287d301bf56dd820137026d51ab38cf6c2e83
tree8be965c47aff4516f5ec92ebf71cae82b81dfad0
parentde9234306bb28fe6c8c3bb908e3f9956f5276a02
ARM: mv78xx0: fix win_cfg_base prototype

Patch b6d1c33a31 "ARM: Orion: Consolidate the address map setup" tried
to merge the address map for the four orion platforms, but apparently
got it wrong for mv78xx0. Admittedly I don't understand what this
code actually does, but it's clear that the current version is
wrong.

Without this patch, building mv78xx0_defconfig results in:

arch/arm/mach-mv78xx0/addr-map.c:59:2: warning: initialization from incompatible pointer type [enabled by default]
arch/arm/mach-mv78xx0/addr-map.c:59:2: warning: (near initialization for 'addr_map_cfg.win_cfg_base') [enabled by default]

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Andrew Lunn <andrew@lunn.ch>
Cc: Michael Walle <michael@walle.cc>
Cc: Nicolas Pitre <nico@linaro.org>
arch/arm/mach-mv78xx0/addr-map.c