Commit e48f814e authored by Tony Lindgren's avatar Tony Lindgren

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: default avatarRussell King <linux@arm.linux.org.uk>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 8eaa7bb0
......@@ -49,7 +49,7 @@
* default mapping provided here.
*/
#ifdef CONFIG_ARCH_OMAP2
#if defined(CONFIG_SOC_OMAP2420) || defined(CONFIG_SOC_OMAP2430)
static struct map_desc omap24xx_io_desc[] __initdata = {
{
.virtual = L3_24XX_VIRT,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment