]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
Isolate CAIF transport drivers into their own menu
authorrd.dunlab@gmail.com <rd.dunlab@gmail.com>
Tue, 1 Oct 2019 23:04:00 +0000 (16:04 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Oct 2019 21:47:51 +0000 (14:47 -0700)
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>
drivers/net/caif/Kconfig

index 2b9a2f117113e612dec23851334cb48650452fac..ab071565a943c56132e4066c211ee3375a273e7a 100644 (file)
@@ -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