batman-adv: Add DEBUG_LOG -> DEBUGFS dependency
authorSven Eckelmann <sven@narfation.org>
Sun, 14 Oct 2018 14:01:46 +0000 (16:01 +0200)
committerSven Eckelmann <sven@narfation.org>
Sun, 14 Oct 2018 14:04:31 +0000 (16:04 +0200)
The debug log is only available when the debugfs is also enabled. This
must be reflected in Kconfig to avoid incompatible selection of batman-adv
options.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
batman-adv/Config.in

index 1b2399fc0ba6fecb8b9dd7c1abf3a0d791ae4621..d45ad57c8ae297a8995bd5b9084501ecc7fff936 100644 (file)
@@ -2,6 +2,7 @@
 config KMOD_BATMAN_ADV_DEBUG_LOG
        bool "enable verbose debug logging"
        depends on PACKAGE_kmod-batman-adv
+       depends on KMOD_BATMAN_ADV_DEBUGFS
        default n
 
 config KMOD_BATMAN_ADV_BLA