summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/hash.c
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2017-11-19 17:12:02 +0100
committerSimon Wunderlich <sw@simonwunderlich.de>2017-12-15 17:24:10 +0100
commitb92b94ac732f5c83c60be2825d8b5cec4dc469d3 (patch)
tree0126b4907b9a4f285d57e21155d1387d687de02e /net/batman-adv/hash.c
parentbatman-adv: Change batman_adv.h license to MIT (diff)
downloadlinux-b92b94ac732f5c83c60be2825d8b5cec4dc469d3.tar.xz
linux-b92b94ac732f5c83c60be2825d8b5cec4dc469d3.zip
batman-adv: include gfp.h for GFP_* defines
The linux/gfp.h provides the GFP_ATOMIC and GFP_KERNEL define. It should therefore be included instead of linux/fs.h. Signed-off-by: Sven Eckelmann <sven@narfation.org> Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'net/batman-adv/hash.c')
-rw-r--r--net/batman-adv/hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/hash.c b/net/batman-adv/hash.c
index a6dbaf2e9fc9..2ce0d5673f40 100644
--- a/net/batman-adv/hash.c
+++ b/net/batman-adv/hash.c
@@ -19,7 +19,7 @@
#include "hash.h"
#include "main.h"
-#include <linux/fs.h>
+#include <linux/gfp.h>
#include <linux/lockdep.h>
#include <linux/slab.h>