summaryrefslogtreecommitdiff
path: root/drivers/input/gameport/Kconfig
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-29 10:40:13 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-29 10:40:13 -0700
commit45b30105e7231b70bb855923dbca443ee3ba44c3 (patch)
tree3628af0d6e4be079c9638edb17e20dab74d19cea /drivers/input/gameport/Kconfig
parent6cf2b3fc9934a56ceeb393ea5d0149e0bebc80fa (diff)
parent7d6064d44bc79e328f2794ee7322ba2676511e2b (diff)
downloadlwn-45b30105e7231b70bb855923dbca443ee3ba44c3.tar.gz
lwn-45b30105e7231b70bb855923dbca443ee3ba44c3.zip
Automatic merge of 'for-linus' branch from
rsync://rsync.kernel.org/pub/scm/linux/kernel/git/dtor/input
Diffstat (limited to 'drivers/input/gameport/Kconfig')
-rw-r--r--drivers/input/gameport/Kconfig20
1 files changed, 0 insertions, 20 deletions
diff --git a/drivers/input/gameport/Kconfig b/drivers/input/gameport/Kconfig
index 6282f460aba0..1d93f5092904 100644
--- a/drivers/input/gameport/Kconfig
+++ b/drivers/input/gameport/Kconfig
@@ -68,23 +68,3 @@ config GAMEPORT_CS461X
depends on PCI
endif
-
-# Yes, SOUND_GAMEPORT looks a bit odd. Yes, it ends up being turned on
-# in every .config. Please don't touch it. It is here to handle an
-# unusual dependency between GAMEPORT and sound drivers.
-#
-# Some sound drivers call gameport functions. If GAMEPORT is
-# not selected, empty stubs are provided for the functions and all is
-# well.
-# If GAMEPORT is built in, everything is fine.
-# If GAMEPORT is a module, however, it would need to be loaded for the
-# sound driver to be able to link properly. Therefore, the sound
-# driver must be a module as well in that case. Since there's no way
-# to express that directly in Kconfig, we use SOUND_GAMEPORT to
-# express it. SOUND_GAMEPORT boils down to "if GAMEPORT is 'm',
-# anything that depends on SOUND_GAMEPORT must be 'm' as well. if
-# GAMEPORT is 'y' or 'n', it can be anything".
-config SOUND_GAMEPORT
- tristate
- default m if GAMEPORT=m
- default y