summaryrefslogtreecommitdiff
path: root/drivers/net/bonding
diff options
context:
space:
mode:
authorMike Galbraith <bitbucket@online.de>2014-02-14 11:21:04 +0400
committerDavid S. Miller <davem@davemloft.net>2014-02-15 01:15:37 +0400
commiteb2d4c64879c99fc78e739b0147db28731ff474e (patch)
tree36816a8846337216760949a49aaf91ad557e09a0 /drivers/net/bonding
parentce11c436720cdb8437340be93b2f5efe23ce3e1c (diff)
downloadlinux-eb2d4c64879c99fc78e739b0147db28731ff474e.tar.xz
net,bonding: fix bond_options.c direct rwlock.h include
drivers/net/bonding/bond_options.c includes rwlock.h directly, which is a nono, and which also breaks RT kernel build. Signed-off-by: Mike Galbraith <bitbucket@online.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding')
-rw-r--r--drivers/net/bonding/bond_options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bonding/bond_options.c b/drivers/net/bonding/bond_options.c
index 11cb943222d5..c37878432717 100644
--- a/drivers/net/bonding/bond_options.c
+++ b/drivers/net/bonding/bond_options.c
@@ -14,7 +14,7 @@
#include <linux/errno.h>
#include <linux/if.h>
#include <linux/netdevice.h>
-#include <linux/rwlock.h>
+#include <linux/spinlock.h>
#include <linux/rcupdate.h>
#include <linux/ctype.h>
#include <linux/inet.h>