aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/can
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2012-07-20 15:00:00 -0400
committerMarc Kleine-Budde <mkl@pengutronix.de>2013-01-26 10:58:58 -0500
commit77136836aef2c7ce9745e765c1e51a14e3933931 (patch)
tree9576667764a9c271db3392d215dc44aa7a5a8d06 /drivers/net/can
parent93b9c1ddd3fb4a5b67d512e534b30070f9ecec28 (diff)
can: Kconfig: convert 'depends on CAN' into 'if CAN...endif' block
This patch adds an 'if CAN...endif' Block around all CAN symbols in net/can/Kconfig. So the 'depends on CAN' dependencies can be removed. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/can')
-rw-r--r--drivers/net/can/Kconfig5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/can/Kconfig b/drivers/net/can/Kconfig
index b56bd9e80957..8088d8fa5611 100644
--- a/drivers/net/can/Kconfig
+++ b/drivers/net/can/Kconfig
@@ -1,9 +1,7 @@
1menu "CAN Device Drivers" 1menu "CAN Device Drivers"
2 depends on CAN
3 2
4config CAN_VCAN 3config CAN_VCAN
5 tristate "Virtual Local CAN Interface (vcan)" 4 tristate "Virtual Local CAN Interface (vcan)"
6 depends on CAN
7 ---help--- 5 ---help---
8 Similar to the network loopback devices, vcan offers a 6 Similar to the network loopback devices, vcan offers a
9 virtual local CAN interface. 7 virtual local CAN interface.
@@ -13,7 +11,6 @@ config CAN_VCAN
13 11
14config CAN_SLCAN 12config CAN_SLCAN
15 tristate "Serial / USB serial CAN Adaptors (slcan)" 13 tristate "Serial / USB serial CAN Adaptors (slcan)"
16 depends on CAN
17 ---help--- 14 ---help---
18 CAN driver for several 'low cost' CAN interfaces that are attached 15 CAN driver for several 'low cost' CAN interfaces that are attached
19 via serial lines or via USB-to-serial adapters using the LAWICEL 16 via serial lines or via USB-to-serial adapters using the LAWICEL
@@ -33,7 +30,6 @@ config CAN_SLCAN
33 30
34config CAN_DEV 31config CAN_DEV
35 tristate "Platform CAN drivers with Netlink support" 32 tristate "Platform CAN drivers with Netlink support"
36 depends on CAN
37 default y 33 default y
38 ---help--- 34 ---help---
39 Enables the common framework for platform CAN drivers with Netlink 35 Enables the common framework for platform CAN drivers with Netlink
@@ -133,7 +129,6 @@ source "drivers/net/can/softing/Kconfig"
133 129
134config CAN_DEBUG_DEVICES 130config CAN_DEBUG_DEVICES
135 bool "CAN devices debugging messages" 131 bool "CAN devices debugging messages"
136 depends on CAN
137 ---help--- 132 ---help---
138 Say Y here if you want the CAN device drivers to produce a bunch of 133 Say Y here if you want the CAN device drivers to produce a bunch of
139 debug messages to the system log. Select this if you are having 134 debug messages to the system log. Select this if you are having