Skip to contentSkip to conversation

ARM: OMAP: silence Kconfig warnings for non-ARM build

PATCH In review Kevin Hilman 1 participant 2 messages Aug 3, 2007 – Aug 6, 2007 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: OMAP: silence Kconfig warnings for non-ARM build

Not sure if this is the right Kconfig magic, but when the OMAP patches are applied and the kernel is built for a non-ARM target, there are a handful of Kconfig warnings. This patch cleans that up.

---
 sound/arm/Kconfig |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
sound/arm/Kconfig +2 -0
index 3646307..76f8072 100644
@@ -33,6 +33,7 @@ config SND_PXA2XX_AC97
 	  Say Y or M if you want to support any AC97 codec attached to
 	  the PXA2xx AC97 interface.
 
+if ARCH_OMAP
 config SND_OMAP_AIC23
 	tristate "OMAP AIC23 alsa driver (osk5912)"
 	depends on ARCH_OMAP && SND
@@ -99,5 +100,6 @@ config SND_OMAP24XX_EAC
 
 	  To compile this driver as a module, choose M here: the module
 	  will be called snd-omap24xx-eac.
+endif
 
 endmenu
Signature · 1 line
1.5.2
#1 lore raw
Quoted 3 lines · Kevin Hilman

Not sure if this is the right Kconfig magic, but when the OMAP patches are applied and the kernel is built for a non-ARM target, there are a handful of Kconfig warnings. This patch cleans that up.

Ignore this one. It doesn't actually work. Will send a better one.