diff options
| author | Marc Kleine-Budde <mkl@pengutronix.de> | 2012-07-20 15:00:00 -0400 |
|---|---|---|
| committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2013-01-26 10:58:58 -0500 |
| commit | 77136836aef2c7ce9745e765c1e51a14e3933931 (patch) | |
| tree | 9576667764a9c271db3392d215dc44aa7a5a8d06 /net/can | |
| parent | 93b9c1ddd3fb4a5b67d512e534b30070f9ecec28 (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 'net/can')
| -rw-r--r-- | net/can/Kconfig | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/net/can/Kconfig b/net/can/Kconfig index 03200699d274..0435fc42ab04 100644 --- a/net/can/Kconfig +++ b/net/can/Kconfig | |||
| @@ -16,9 +16,10 @@ menuconfig CAN | |||
| 16 | If you want CAN support you should say Y here and also to the | 16 | If you want CAN support you should say Y here and also to the |
| 17 | specific driver for your controller(s) below. | 17 | specific driver for your controller(s) below. |
| 18 | 18 | ||
| 19 | if CAN | ||
| 20 | |||
| 19 | config CAN_RAW | 21 | config CAN_RAW |
| 20 | tristate "Raw CAN Protocol (raw access with CAN-ID filtering)" | 22 | tristate "Raw CAN Protocol (raw access with CAN-ID filtering)" |
| 21 | depends on CAN | ||
| 22 | default N | 23 | default N |
| 23 | ---help--- | 24 | ---help--- |
| 24 | The raw CAN protocol option offers access to the CAN bus via | 25 | The raw CAN protocol option offers access to the CAN bus via |
| @@ -29,7 +30,6 @@ config CAN_RAW | |||
| 29 | 30 | ||
| 30 | config CAN_BCM | 31 | config CAN_BCM |
| 31 | tristate "Broadcast Manager CAN Protocol (with content filtering)" | 32 | tristate "Broadcast Manager CAN Protocol (with content filtering)" |
| 32 | depends on CAN | ||
| 33 | default N | 33 | default N |
| 34 | ---help--- | 34 | ---help--- |
| 35 | The Broadcast Manager offers content filtering, timeout monitoring, | 35 | The Broadcast Manager offers content filtering, timeout monitoring, |
| @@ -42,7 +42,6 @@ config CAN_BCM | |||
| 42 | 42 | ||
| 43 | config CAN_GW | 43 | config CAN_GW |
| 44 | tristate "CAN Gateway/Router (with netlink configuration)" | 44 | tristate "CAN Gateway/Router (with netlink configuration)" |
| 45 | depends on CAN | ||
| 46 | default N | 45 | default N |
| 47 | ---help--- | 46 | ---help--- |
| 48 | The CAN Gateway/Router is used to route (and modify) CAN frames. | 47 | The CAN Gateway/Router is used to route (and modify) CAN frames. |
| @@ -53,3 +52,5 @@ config CAN_GW | |||
| 53 | by the netlink configuration interface known e.g. from iptables. | 52 | by the netlink configuration interface known e.g. from iptables. |
| 54 | 53 | ||
| 55 | source "drivers/net/can/Kconfig" | 54 | source "drivers/net/can/Kconfig" |
| 55 | |||
| 56 | endif | ||
