aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/can
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2011-02-09 12:43:38 -0800
committerDavid S. Miller <davem@davemloft.net>2011-02-09 12:43:38 -0800
commit69e6ed186009ce86cbf5da95f45227064134d694 (patch)
tree7ce800956d976529c7af96beb565318fd7920d9b /drivers/net/can
parentae0935776c3c7f4c99d0b3909755fe0896277d0e (diff)
downloadkernel_samsung_espresso10-69e6ed186009ce86cbf5da95f45227064134d694.zip
kernel_samsung_espresso10-69e6ed186009ce86cbf5da95f45227064134d694.tar.gz
kernel_samsung_espresso10-69e6ed186009ce86cbf5da95f45227064134d694.tar.bz2
can: softing_cs needs slab.h
From: Randy Dunlap <randy.dunlap@oracle.com> softing_cs.c uses kzalloc & kfree, so it needs to include linux/slab.h. drivers/net/can/softing/softing_cs.c:234: error: implicit declaration of function 'kfree' drivers/net/can/softing/softing_cs.c:271: error: implicit declaration of function 'kzalloc' Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/can')
-rw-r--r--drivers/net/can/softing/softing_cs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/can/softing/softing_cs.c b/drivers/net/can/softing/softing_cs.c
index 300fe75..c11bb4d 100644
--- a/drivers/net/can/softing/softing_cs.c
+++ b/drivers/net/can/softing/softing_cs.c
@@ -19,6 +19,7 @@
#include <linux/module.h>
#include <linux/kernel.h>
+#include <linux/slab.h>
#include <pcmcia/cistpl.h>
#include <pcmcia/ds.h>