From: Markus Pargmann Date: Fri, 26 Dec 2014 11:41:18 +0000 (+0100) Subject: batman-adv: debugfs, avoid compiling for !DEBUG_FS X-Git-Tag: omap-for-v4.3/legacy-v2-signed~163^2~174^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9bb218828c8f4fa6587af93e248903c96ce469d0;p=pandora-kernel.git batman-adv: debugfs, avoid compiling for !DEBUG_FS Normally the debugfs framework will return error pointer with -ENODEV for function calls when DEBUG_FS is not set. batman does not notice this error code and continues trying to create debugfs files and executes more code. We can avoid this code execution by disabling compiling debugfs.c when DEBUG_FS is not set. Signed-off-by: Markus Pargmann Signed-off-by: Marek Lindner --- Reading git-diff-tree failed