diff options
author | 2014-02-14 08:21:04 +0100 | |
---|---|---|
committer | 2014-02-14 16:15:37 -0500 | |
commit | eb2d4c64879c99fc78e739b0147db28731ff474e (patch) | |
tree | 36816a8846337216760949a49aaf91ad557e09a0 | |
parent | net: of_mdio: fix of_set_phy_supported after driver probing (diff) | |
download | wireguard-linux-eb2d4c64879c99fc78e739b0147db28731ff474e.tar.xz wireguard-linux-eb2d4c64879c99fc78e739b0147db28731ff474e.zip |
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 '')
-rw-r--r-- | drivers/net/bonding/bond_options.c | 2 |
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> |