]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: Include main.h in bat_v_ogm.h
authorSven Eckelmann <sven@narfation.org>
Sun, 15 May 2016 09:07:41 +0000 (11:07 +0200)
committerSimon Wunderlich <sw@simonwunderlich.de>
Thu, 30 Jun 2016 08:29:43 +0000 (10:29 +0200)
commitbd09bdd668eeb05b6d07995122af814fd0e0093f
treee61cf1bb227b7d9b7200853cdf1e8614de4cb7a3
parent7da63f9b427dd288f3e5ca71c399973bfc9c9481
batman-adv: Include main.h in bat_v_ogm.h

main.h includes statements which (re)define preprocessor variables which
influence the compiled code. This makes it necessary to include it in all
files. For example, it redefines pr_fmt used to the module as prefix for
each pr_* message.

Reported-by: Antonio Quartulli <a@unstable.cc>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
net/batman-adv/bat_v_ogm.h