summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrd.dunlab@gmail.com <rd.dunlab@gmail.com>2019-10-02 01:04:00 +0200
committerDavid S. Miller <davem@davemloft.net>2019-10-02 23:47:51 +0200
commit21d549769e793607c081328c9811e03ad851f9dc (patch)
treea1187c0b4eb6ae41e1edaacbc49b411851711d24
parentClean up the net/caif/Kconfig menu (diff)
downloadlinux-21d549769e793607c081328c9811e03ad851f9dc.tar.xz
linux-21d549769e793607c081328c9811e03ad851f9dc.zip
Isolate CAIF transport drivers into their own menu
Isolate CAIF transport drivers into their own menu. This cleans up the main Network device support menu, makes it easier to find the CAIF drivers, and makes it easier to enable/disable them as a group. Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/caif/Kconfig10
1 files changed, 9 insertions, 1 deletions
diff --git a/drivers/net/caif/Kconfig b/drivers/net/caif/Kconfig
index 2b9a2f117113..ab071565a943 100644
--- a/drivers/net/caif/Kconfig
+++ b/drivers/net/caif/Kconfig
@@ -3,7 +3,13 @@
# CAIF physical drivers
#
-comment "CAIF transport drivers"
+menuconfig CAIF_DRIVERS
+ bool "CAIF transport drivers"
+ depends on CAIF
+ help
+ Enable this to see CAIF physical drivers.
+
+if CAIF_DRIVERS
config CAIF_TTY
tristate "CAIF TTY transport driver"
@@ -55,3 +61,5 @@ config CAIF_VIRTIO
if CAIF_VIRTIO
source "drivers/vhost/Kconfig.vringh"
endif
+
+endif # CAIF_DRIVERS