summaryrefslogtreecommitdiffstats
path: root/include/net/bonding.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2014-11-10 19:27:49 +0100
committerDavid S. Miller <davem@davemloft.net>2014-11-10 19:27:49 +0100
commit1ef8019be8799c39f316a772ffdd705c46029752 (patch)
tree1f235f10cd035d076f240c9a84f3c93f22c489e6 /include/net/bonding.h
parentcxgb4: Remove unnecessary struct in6_addr * casts (diff)
downloadlinux-1ef8019be8799c39f316a772ffdd705c46029752.tar.xz
linux-1ef8019be8799c39f316a772ffdd705c46029752.zip
net: Move bonding headers under include/net
This ways drivers like cxgb4 don't need to do ugly relative includes. Reported-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--include/net/bonding.h (renamed from drivers/net/bonding/bonding.h)12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/bonding/bonding.h b/include/net/bonding.h
index bfb0b51c081a..983a94b86b95 100644
--- a/drivers/net/bonding/bonding.h
+++ b/include/net/bonding.h
@@ -12,8 +12,8 @@
*
*/
-#ifndef _LINUX_BONDING_H
-#define _LINUX_BONDING_H
+#ifndef _NET_BONDING_H
+#define _NET_BONDING_H
#include <linux/timer.h>
#include <linux/proc_fs.h>
@@ -26,9 +26,9 @@
#include <linux/reciprocal_div.h>
#include <linux/if_link.h>
-#include "bond_3ad.h"
-#include "bond_alb.h"
-#include "bond_options.h"
+#include <net/bond_3ad.h>
+#include <net/bond_alb.h>
+#include <net/bond_options.h>
#define DRV_VERSION "3.7.1"
#define DRV_RELDATE "April 27, 2011"
@@ -651,4 +651,4 @@ static inline void bond_tx_drop(struct net_device *dev, struct sk_buff *skb)
dev_kfree_skb_any(skb);
}
-#endif /* _LINUX_BONDING_H */
+#endif /* _NET_BONDING_H */