batman-adv: Allow to use BATMAN_ADV_DEBUG without BATMAN_ADV_DEBUGFS
authorSven Eckelmann <sven@narfation.org>
Sun, 21 Oct 2018 09:30:31 +0000 (11:30 +0200)
committerSimon Wunderlich <sw@simonwunderlich.de>
Mon, 12 Nov 2018 09:41:50 +0000 (10:41 +0100)
commit0dacc7fab623be97bda7aefe0d1d8d68cebb4218
tree6aad58c0cced7a5014d04f5ad3e899211d2bb0c5
parent95d8f85c911331fc4b4a6039295b3fe1673c73e7
batman-adv: Allow to use BATMAN_ADV_DEBUG without BATMAN_ADV_DEBUGFS

The BATMAN_ADV_DEBUGFS portion of batman-adv is marked as deprecated. Thus
all required functionality should be available without it. The debug log
was already modified to also output via the kernel tracing function but
still retained its BATMAN_ADV_DEBUGFS functionality.

Separate the entry point for the debug log from the debugfs portions to
make it possible to build with BATMAN_ADV_DEBUG and without
BATMAN_ADV_DEBUGFS.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
net/batman-adv/Kconfig
net/batman-adv/log.c