]> git.hungrycats.org Git - linux/commitdiff
Updated Config.in from Johann Deneux, which should fix
authorVojtech Pavlik <vojtech@twilight.ucw.cz>
Thu, 11 Jul 2002 01:57:49 +0000 (03:57 +0200)
committerVojtech Pavlik <vojtech@twilight.ucw.cz>
Thu, 11 Jul 2002 01:57:49 +0000 (03:57 +0200)
drivers/input/joystick/iforce/Config.in

index 01362b45e4a16754241dc162470307bc287bf92e..13cdf88f48b6b41d22f393c0eb54be46bd266125 100644 (file)
@@ -5,10 +5,10 @@
 dep_tristate '  I-Force devices' CONFIG_JOYSTICK_IFORCE $CONFIG_INPUT $CONFIG_INPUT_JOYSTICK
 
 if [ "$CONFIG_JOYSTICK_IFORCE" = "m" -o "$CONFIG_JOYSTICK_IFORCE" = "y" ]; then
-       if [ "$CONFIG_USB" != "n" ]; then
-               bool '    I-Force USB joysticks and wheels' CONFIG_JOYSTICK_IFORCE_USB
+       if [ "$CONFIG_JOYSTICK_IFORCE" = "m" -o "$CONFIG_USB" = "y" ]; then
+               dep_mbool '    I-Force USB joysticks and wheels' CONFIG_JOYSTICK_IFORCE_USB $CONFIG_USB
        fi
-       if [ "$CONFIG_SERIO" != "n" ]; then
-               bool '    I-Force Serial joysticks and wheels' CONFIG_JOYSTICK_IFORCE_232
+       if [ "$CONFIG_JOYSTICK_IFORCE" = "m" -o "$CONFIG_SERIO" = "y" ]; then
+               dep_mbool '    I-Force Serial joysticks and wheels' CONFIG_JOYSTICK_IFORCE_232 $CONFIG_SERIO
        fi
 fi