net/can/softing: make CAN_SOFTING_CS depend on CAN_SOFTING
authorKurt Van Dijck <kurt.van.dijck@eia.be>
Mon, 14 Feb 2011 19:44:01 +0000 (11:44 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Feb 2011 19:44:01 +0000 (11:44 -0800)
The statement 'select CAN_SOFTING' may ignore the dependancies
for CAN_SOFTING while selecting CAN_SOFTING_CS, as is therefore a bad choice.

Signed-off-by: Kurt Van Dijck <kurt.van.dijck@eia.be>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/can/softing/Kconfig

index 8ba81b3..5de46a9 100644 (file)
@@ -18,7 +18,7 @@ config CAN_SOFTING
 config CAN_SOFTING_CS
        tristate "Softing Gmbh CAN pcmcia cards"
        depends on PCMCIA
-       select CAN_SOFTING
+       depends on CAN_SOFTING
        ---help---
          Support for PCMCIA cards from Softing Gmbh & some cards
          from Vector Gmbh.