ARM: mv78xx0: correct addr_map_cfg __initdata annotation
authorArnd Bergmann <arnd@arndb.de>
Sun, 5 Aug 2012 15:00:18 +0000 (15:00 +0000)
committerArnd Bergmann <arnd@arndb.de>
Sun, 7 Oct 2012 08:33:11 +0000 (10:33 +0200)
commitedc9e3334a19efe1f0c1d2dc7df354e77c8d535d
tree265a27e5e513e1c4d4f74fe52f6d8d92440a1fbd
parentec8e8208acb88d81dde2727b0ac06d06728bf963
ARM: mv78xx0: correct addr_map_cfg __initdata annotation

The annotation on the addr_map_cfg variable is in the wrong place.

Without this patch, building mv78xx0_defconfig results in:

/home/arnd/linux-arm/arch/arm/mach-mv78xx0/addr-map.c:59:2: warning: initialization from incompatible pointer type [enabled by default]
/home/arnd/linux-arm/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: Jason Cooper <jason@lakedaemon.net>
arch/arm/mach-mv78xx0/addr-map.c