diff options
author | Sven Eckelmann <sven@narfation.org> | 2018-10-21 05:30:29 -0400 |
---|---|---|
committer | Simon Wunderlich <sw@simonwunderlich.de> | 2018-11-12 04:41:50 -0500 |
commit | a5dac4da72f59f9565af747f0e4a2d943f902240 (patch) | |
tree | 9bf5623e179d86aa5bb909eccd0f02226384a284 | |
parent | 01468225f305f3607868171b1abc2929a4501fad (diff) |
batman-adv: Add includes for deprecation warning
The commit 00caf6a2b318 ("batman-adv: Mark debugfs functionality as
deprecated") introduced various messages to inform the user about the
deprecation of the debugfs based functionality. The messages also include
the context/task in which this problem was observed.
The datastructures and functions to access this information require special
headers. These should be included directly instead of depending on a more
complex and fragile include chain.
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
-rw-r--r-- | net/batman-adv/debugfs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/batman-adv/debugfs.c b/net/batman-adv/debugfs.c index 8b608a2e2653..d4a7702e48d8 100644 --- a/net/batman-adv/debugfs.c +++ b/net/batman-adv/debugfs.c | |||
@@ -19,6 +19,7 @@ | |||
19 | #include "debugfs.h" | 19 | #include "debugfs.h" |
20 | #include "main.h" | 20 | #include "main.h" |
21 | 21 | ||
22 | #include <asm/current.h> | ||
22 | #include <linux/dcache.h> | 23 | #include <linux/dcache.h> |
23 | #include <linux/debugfs.h> | 24 | #include <linux/debugfs.h> |
24 | #include <linux/err.h> | 25 | #include <linux/err.h> |
@@ -27,6 +28,7 @@ | |||
27 | #include <linux/fs.h> | 28 | #include <linux/fs.h> |
28 | #include <linux/netdevice.h> | 29 | #include <linux/netdevice.h> |
29 | #include <linux/printk.h> | 30 | #include <linux/printk.h> |
31 | #include <linux/sched.h> | ||
30 | #include <linux/seq_file.h> | 32 | #include <linux/seq_file.h> |
31 | #include <linux/stat.h> | 33 | #include <linux/stat.h> |
32 | #include <linux/stddef.h> | 34 | #include <linux/stddef.h> |