]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Input: make sure that joystick support in CMPCI driver can only be
authorDmitry Torokhov <dtor_core@ameritech.net>
Wed, 1 Jun 2005 07:38:53 +0000 (02:38 -0500)
committerDmitry Torokhov <dtor_core@ameritech.net>
Wed, 1 Jun 2005 07:38:53 +0000 (02:38 -0500)
       selected if either gameport is built-in or _both_ gameport
       and cmpci are built as modules.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
sound/oss/Kconfig

index e537bd66a707795e1e2edcec4483fbe0977f87dd..33e28089f8d791025d3e340a0f53be863a720e6d 100644 (file)
@@ -52,7 +52,7 @@ config SOUND_CMPCI_MIDI
 
 config SOUND_CMPCI_JOYSTICK
        bool "Enable joystick"
-       depends on SOUND_CMPCI && X86
+       depends on SOUND_CMPCI && X86 && (GAMEPORT=y || SOUND_CMPCI=GAMEPORT)
        help
          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