[alsa-devel] [PATCH/KCONFIG] - Add SUPERH depends to sound/soc/sh/Kconfig

Kristoffer Ericson kristoffer.ericson at gmail.com
Fri Feb 1 08:08:01 CET 2008


Currently you will see an empty "SoC Audio support for SuperH" menu 
when building for other archs (example pxa).
This patch adds "depends on SUPERH" to remove that empty menu.

signed-off-by: Kristoffer Ericson <kristoffer.ericson at gmail.com>

diff --git a/sound/soc/sh/Kconfig b/sound/soc/sh/Kconfig
index f03220d..4c1e013 100644
--- a/sound/soc/sh/Kconfig
+++ b/sound/soc/sh/Kconfig
@@ -1,4 +1,5 @@
 menu "SoC Audio support for SuperH"
+	depends on SUPERH
 
 config SND_SOC_PCM_SH7760
 	tristate "SoC Audio support for Renesas SH7760"


-------------- next part --------------
A non-text attachment was scrubbed...
Name: SoC-SuperH-add-depends.patch
Type: application/octet-stream
Size: 293 bytes
Desc: not available
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20080201/677ed645/attachment.dll 


More information about the Alsa-devel mailing list