Skip to content

Commit

Permalink
net,bonding: fix bond_options.c direct rwlock.h include
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mike Galbraith authored and David S. Miller committed Feb 14, 2014
1 parent ce11c43 commit eb2d4c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/bonding/bond_options.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit eb2d4c6

Please sign in to comment.