diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2011-02-09 23:43:38 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-09 23:43:38 +0300 |
commit | 69e6ed186009ce86cbf5da95f45227064134d694 (patch) | |
tree | 7ce800956d976529c7af96beb565318fd7920d9b /drivers | |
parent | ae0935776c3c7f4c99d0b3909755fe0896277d0e (diff) | |
download | linux-69e6ed186009ce86cbf5da95f45227064134d694.tar.xz |
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')
-rw-r--r-- | drivers/net/can/softing/softing_cs.c | 1 |
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 300fe75dd1a7..c11bb4de8630 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> |