summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2012-07-20 19:00:00 (GMT)
committerMarc Kleine-Budde <mkl@pengutronix.de>2013-01-26 15:58:58 (GMT)
commit77136836aef2c7ce9745e765c1e51a14e3933931 (patch)
tree9576667764a9c271db3392d215dc44aa7a5a8d06 /net
parent93b9c1ddd3fb4a5b67d512e534b30070f9ecec28 (diff)
downloadlinux-fsl-qoriq-77136836aef2c7ce9745e765c1e51a14e3933931.tar.xz
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 'net')
-rw-r--r--net/can/Kconfig7
1 files changed, 4 insertions, 3 deletions
diff --git a/net/can/Kconfig b/net/can/Kconfig
index 0320069..0435fc4 100644
--- a/net/can/Kconfig
+++ b/net/can/Kconfig
@@ -16,9 +16,10 @@ menuconfig CAN
If you want CAN support you should say Y here and also to the
specific driver for your controller(s) below.
+if CAN
+
config CAN_RAW
tristate "Raw CAN Protocol (raw access with CAN-ID filtering)"
- depends on CAN
default N
---help---
The raw CAN protocol option offers access to the CAN bus via
@@ -29,7 +30,6 @@ config CAN_RAW
config CAN_BCM
tristate "Broadcast Manager CAN Protocol (with content filtering)"
- depends on CAN
default N
---help---
The Broadcast Manager offers content filtering, timeout monitoring,
@@ -42,7 +42,6 @@ config CAN_BCM
config CAN_GW
tristate "CAN Gateway/Router (with netlink configuration)"
- depends on CAN
default N
---help---
The CAN Gateway/Router is used to route (and modify) CAN frames.
@@ -53,3 +52,5 @@ config CAN_GW
by the netlink configuration interface known e.g. from iptables.
source "drivers/net/can/Kconfig"
+
+endif