diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2006-12-10 05:18:34 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-10 12:55:39 -0500 |
commit | 2d4ba4a3b9aef95d328d74a17ae84f8d658059e2 (patch) | |
tree | 024ebdbaf843a29bf23a683e23be2a6fe1214184 /drivers/input/touchscreen | |
parent | db9a758c3895ae99d647143d1f043938eb68521e (diff) |
[PATCH] ucb1400_ts depends SND_AC97_BUS
This driver is an AC97 codec according to its help text. However, if SOUND is
disabled, the "select SND_AC97_BUS" still inserts that into the .config file:
#
# Sound
#
# CONFIG_SOUND is not set
CONFIG_SND_AC97_BUS=m
Even if the config software followed dependency chains on selects, we should
try to limit usage of "select" to library-type code that is needed (e.g., CRC
functions) instead of bus-type support.
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/input/touchscreen')
-rw-r--r-- | drivers/input/touchscreen/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig index 29ca0ab0acb8..3d5f19658032 100644 --- a/drivers/input/touchscreen/Kconfig +++ b/drivers/input/touchscreen/Kconfig | |||
@@ -146,7 +146,7 @@ config TOUCHSCREEN_TOUCHWIN | |||
146 | 146 | ||
147 | config TOUCHSCREEN_UCB1400 | 147 | config TOUCHSCREEN_UCB1400 |
148 | tristate "Philips UCB1400 touchscreen" | 148 | tristate "Philips UCB1400 touchscreen" |
149 | select SND_AC97_BUS | 149 | depends on SND_AC97_BUS |
150 | help | 150 | help |
151 | This enables support for the Philips UCB1400 touchscreen interface. | 151 | This enables support for the Philips UCB1400 touchscreen interface. |
152 | The UCB1400 is an AC97 audio codec. The touchscreen interface | 152 | The UCB1400 is an AC97 audio codec. The touchscreen interface |