Browse Source

Input: make sure that joystick support in CMPCI driver can only be
selected if either gameport is built-in or _both_ gameport
and cmpci are built as modules.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>

Dmitry Torokhov 20 years ago
parent
commit
f0f05a4226
1 changed files with 1 additions and 1 deletions
  1. 1 1
      sound/oss/Kconfig

+ 1 - 1
sound/oss/Kconfig

@@ -52,7 +52,7 @@ config SOUND_CMPCI_MIDI
 
 
 config SOUND_CMPCI_JOYSTICK
 config SOUND_CMPCI_JOYSTICK
 	bool "Enable joystick"
 	bool "Enable joystick"
-	depends on SOUND_CMPCI && X86
+	depends on SOUND_CMPCI && X86 && (GAMEPORT=y || SOUND_CMPCI=GAMEPORT)
 	help
 	help
 	  Say Y here in order to enable the joystick port on a sound card using
 	  Say Y here in order to enable the joystick port on a sound card using
 	  the CMI8338 or the CMI8738 chipset.  You need to config the
 	  the CMI8338 or the CMI8738 chipset.  You need to config the