diff options
author | Tony Lindgren <tony@atomide.com> | 2012-03-06 14:49:22 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-03-06 14:49:22 -0500 |
commit | e48f814e6366d36a0495f6aa2838a064304f6406 (patch) | |
tree | 10627d9cc2d23be0d323c101b391b9d3397bdb2d /arch/arm/mach-omap2/io.c | |
parent | 8eaa7bb0b363707db6d1323e4fbc0783bc55d22d (diff) |
ARM: OMAP2+: Fix omap24xx_io_desc warning if SoC subtypes are not selected
Otherwise we get the following warning:
arch/arm/mach-omap2/io.c:53:24: warning:
'omap24xx_io_desc' defined but not used [-Wunused-variable]
Reported-by: Russell King <linux@arm.linux.org.uk>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/io.c')
-rw-r--r-- | arch/arm/mach-omap2/io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c index 9bd07f33eea7..3fbb0c0b84a4 100644 --- a/arch/arm/mach-omap2/io.c +++ b/arch/arm/mach-omap2/io.c | |||
@@ -49,7 +49,7 @@ | |||
49 | * default mapping provided here. | 49 | * default mapping provided here. |
50 | */ | 50 | */ |
51 | 51 | ||
52 | #ifdef CONFIG_ARCH_OMAP2 | 52 | #if defined(CONFIG_SOC_OMAP2420) || defined(CONFIG_SOC_OMAP2430) |
53 | static struct map_desc omap24xx_io_desc[] __initdata = { | 53 | static struct map_desc omap24xx_io_desc[] __initdata = { |
54 | { | 54 | { |
55 | .virtual = L3_24XX_VIRT, | 55 | .virtual = L3_24XX_VIRT, |