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:07:42 +0000 (16:07 +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 c56a4b3bf4919fea95979972d8d2f44ea7d19ffa..85c18dfc81ceb271055b4207029b5e065d6fcf6c 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