can: slcan: Add missing linux/sched.h include.
authorDavid S. Miller <davem@davemloft.net>
Thu, 9 Dec 2010 02:41:03 +0000 (18:41 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Dec 2010 02:41:03 +0000 (18:41 -0800)
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>
drivers/net/can/slcan.c

index 420e95ecc193a2267af2e4a7fabed431a07a2098..b423965a78d16fe702ddbba08d7dd8d529cdf767 100644 (file)
@@ -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>