浏览代码

Fix CONFIG_AC97_BUS dependency

CONFIG_AC97_BUS is used from both sound and ucb1400 drivers.
The recent change in Kconfig introduced the exclusive dependency on
CONFIG_SOUND, and disabled the ucb1400 build without sound.
This patch makes CONFIG_AC97_BUS independent.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Tested-by: Randy Dunlap <randy.dunlap@oracle.com>
Takashi Iwai 16 年之前
父节点
当前提交
8a656496b2
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      sound/Kconfig

+ 3 - 1
sound/Kconfig

@@ -91,6 +91,9 @@ endif # SOUND_PRIME
 
 
 endif # !M68K
 endif # !M68K
 
 
+endif # SOUND
+
+# AC97_BUS is used from both sound and ucb1400
 config AC97_BUS
 config AC97_BUS
 	tristate
 	tristate
 	help
 	help
@@ -99,4 +102,3 @@ config AC97_BUS
 	  sound although they're sharing the AC97 bus. Concerned drivers
 	  sound although they're sharing the AC97 bus. Concerned drivers
 	  should "select" this.
 	  should "select" this.
 
 
-endif # SOUND