Skip to content

Commit

Permalink
ARM: OMAP2+: Fix omap24xx_io_desc warning if SoC subtypes are not sel…
Browse files Browse the repository at this point in the history
…ected

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>
  • Loading branch information
Tony Lindgren committed Mar 6, 2012
1 parent 8eaa7bb commit e48f814
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-omap2/io.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit e48f814

Please sign in to comment.