diff options
author | David S. Miller <davem@davemloft.net> | 2010-12-08 21:41:03 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-08 21:41:03 -0500 |
commit | 84b3cdc38cd2882d7ac3c2ae4b6faf5c199874e3 (patch) | |
tree | 367ef1d23648ac00bccd277095481db405fa911e /drivers/net/can/slcan.c | |
parent | fe6c791570efe717946ea7b7dd50aec96b70d551 (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/slcan.c')
-rw-r--r-- | drivers/net/can/slcan.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/can/slcan.c b/drivers/net/can/slcan.c index 420e95ecc193..b423965a78d1 100644 --- a/drivers/net/can/slcan.c +++ b/drivers/net/can/slcan.c | |||
@@ -53,6 +53,7 @@ | |||
53 | #include <linux/rtnetlink.h> | 53 | #include <linux/rtnetlink.h> |
54 | #include <linux/if_arp.h> | 54 | #include <linux/if_arp.h> |
55 | #include <linux/if_ether.h> | 55 | #include <linux/if_ether.h> |
56 | #include <linux/sched.h> | ||
56 | #include <linux/delay.h> | 57 | #include <linux/delay.h> |
57 | #include <linux/init.h> | 58 | #include <linux/init.h> |
58 | #include <linux/can.h> | 59 | #include <linux/can.h> |