net,bonding: fix bond_options.c direct rwlock.h include
authorMike Galbraith <bitbucket@online.de>
Fri, 14 Feb 2014 07:21:04 +0000 (08:21 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Feb 2014 21:15:37 +0000 (16:15 -0500)
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>
drivers/net/bonding/bond_options.c

index 11cb943..c378784 100644 (file)
@@ -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>