[PATCH] ucb1400_ts depends SND_AC97_BUS
authorRandy Dunlap <randy.dunlap@oracle.com>
Sun, 10 Dec 2006 10:18:34 +0000 (02:18 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Sun, 10 Dec 2006 17:55:39 +0000 (09:55 -0800)
commit2d4ba4a3b9aef95d328d74a17ae84f8d658059e2
tree024ebdbaf843a29bf23a683e23be2a6fe1214184
parentdb9a758c3895ae99d647143d1f043938eb68521e
[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>
drivers/input/touchscreen/Kconfig