aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/can
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-12-08 18:41:03 -0800
committerDavid S. Miller <davem@davemloft.net>2010-12-08 18:41:03 -0800
commit84b3cdc38cd2882d7ac3c2ae4b6faf5c199874e3 (patch)
tree367ef1d23648ac00bccd277095481db405fa911e /drivers/net/can
parentfe6c791570efe717946ea7b7dd50aec96b70d551 (diff)
can: slcan: Add missing linux/sched.h include.
drivers/net/can/slcan.c: In function 'slcan_open': drivers/net/can/slcan.c:568: error: dereferencing pointer to incomplete type Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/can')
-rw-r--r--drivers/net/can/slcan.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/can/slcan.c b/drivers/net/can/slcan.c
index 420e95ecc19..b423965a78d 100644
--- a/drivers/net/can/slcan.c
+++ b/drivers/net/can/slcan.c
@@ -53,6 +53,7 @@
#include <linux/rtnetlink.h>
#include <linux/if_arp.h>
#include <linux/if_ether.h>
+#include <linux/sched.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/can.h>