aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/main.h
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2016-05-15 11:07:42 +0200
committerSimon Wunderlich <sw@simonwunderlich.de>2016-06-30 10:29:43 +0200
commitfcafa5e74b42a182a5bcc5c7f94ca026d4e5f06e (patch)
tree28ec3f19b48840bb80bdca518ab62915518bc37a /net/batman-adv/main.h
parentbatman-adv: Include main.h in bat_v_ogm.h (diff)
downloadlinux-dev-fcafa5e74b42a182a5bcc5c7f94ca026d4e5f06e.tar.xz
linux-dev-fcafa5e74b42a182a5bcc5c7f94ca026d4e5f06e.zip
batman-adv: Keep includes ordered by filename
It is easier to detect if a include is already there for a used functionality when the includes are ordered. Using an alphabetic order together with the grouping in commit 1e2c2a4fe4a5 ("batman-adv: Add required includes to all files") makes includes better manageable. Signed-off-by: Sven Eckelmann <sven@narfation.org> Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch> Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'net/batman-adv/main.h')
-rw-r--r--net/batman-adv/main.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/batman-adv/main.h b/net/batman-adv/main.h
index cd83e2824f70..38f9e5523190 100644
--- a/net/batman-adv/main.h
+++ b/net/batman-adv/main.h
@@ -181,12 +181,12 @@ enum batadv_uev_type {
#include <linux/cpumask.h>
#include <linux/etherdevice.h>
#include <linux/if_ether.h> /* for packet.h */
+#include <linux/if_vlan.h>
+#include <linux/jiffies.h>
#include <linux/netdevice.h>
+#include <linux/percpu.h>
#include <linux/printk.h>
#include <linux/types.h>
-#include <linux/percpu.h>
-#include <linux/jiffies.h>
-#include <linux/if_vlan.h>
#include "types.h"