summaryrefslogtreecommitdiff
path: root/arch/arm/mach-orion5x/addr-map.c
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2012-05-10 17:59:44 +0400
committerAndrew Lunn <andrew@lunn.ch>2012-05-14 20:12:37 +0400
commitd2621b82c2e8d2e37100797448143bf6ae88d89f (patch)
treea02715af40497f6aec7e7829cafbf44d508cca6b /arch/arm/mach-orion5x/addr-map.c
parent6ed272f245893f2278a9f5a59bacd857664c7d1f (diff)
downloadlinux-d2621b82c2e8d2e37100797448143bf6ae88d89f.tar.xz
Orion5x: Fix Section mismatch warnings
Wrongly placed __initdata, and missing __init caused these warnings. Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Diffstat (limited to 'arch/arm/mach-orion5x/addr-map.c')
-rw-r--r--arch/arm/mach-orion5x/addr-map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-orion5x/addr-map.c b/arch/arm/mach-orion5x/addr-map.c
index 3638e5c12b7e..eaac83d1df6f 100644
--- a/arch/arm/mach-orion5x/addr-map.c
+++ b/arch/arm/mach-orion5x/addr-map.c
@@ -76,7 +76,7 @@ static int __init cpu_win_can_remap(const struct orion_addr_map_cfg *cfg,
/*
* Description of the windows needed by the platform code
*/
-static struct __initdata orion_addr_map_cfg addr_map_cfg = {
+static struct orion_addr_map_cfg addr_map_cfg __initdata = {
.num_wins = 8,
.cpu_win_can_remap = cpu_win_can_remap,
.bridge_virt_base = ORION5X_BRIDGE_VIRT_BASE,