]> git.karo-electronics.de Git - linux-beck.git/commit
ARM: OMAP2: Fix section warning for n8x0 when CONFIG_MMC_OMAP is not set
authorTony Lindgren <tony@atomide.com>
Tue, 6 Mar 2012 19:49:28 +0000 (11:49 -0800)
committerTony Lindgren <tony@atomide.com>
Tue, 6 Mar 2012 19:49:28 +0000 (11:49 -0800)
commit49b87c6db100cf9802be22a1b83a72cbcadaa76c
tree8ece87eb683b66bbe5c0e252590c4f2cfed88712
parente48f814e6366d36a0495f6aa2838a064304f6406
ARM: OMAP2: Fix section warning for n8x0 when CONFIG_MMC_OMAP is not set

Otherwise we get:

arch/arm/mach-omap2/board-n8x0.c:39:12: warning:
'slot1_cover_open' defined but not used [-Wunused-variable]
arch/arm/mach-omap2/board-n8x0.c:40:12: warning:
'slot2_cover_open' defined but not used [-Wunused-variable]
arch/arm/mach-omap2/board-n8x0.c:41:23: warning:
'mmc_device' defined but not used [-Wunused-variable]

Reported-by: Russell King <linux@arm.linux.org.uk>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-n8x0.c