diff options
author | David S. Miller <davem@davemloft.net> | 2010-12-09 05:41:03 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-09 05:41:03 +0300 |
commit | 84b3cdc38cd2882d7ac3c2ae4b6faf5c199874e3 (patch) | |
tree | 367ef1d23648ac00bccd277095481db405fa911e /drivers/net/can/slcan.c | |
parent | fe6c791570efe717946ea7b7dd50aec96b70d551 (diff) | |
download | linux-84b3cdc38cd2882d7ac3c2ae4b6faf5c199874e3.tar.xz |
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 @@ #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> |