diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2011-02-09 21:43:38 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-09 21:43:38 +0100 |
commit | 69e6ed186009ce86cbf5da95f45227064134d694 (patch) | |
tree | 7ce800956d976529c7af96beb565318fd7920d9b /drivers/net/can/softing/softing_cs.c | |
parent | Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/kaber/... (diff) | |
download | linux-69e6ed186009ce86cbf5da95f45227064134d694.tar.xz linux-69e6ed186009ce86cbf5da95f45227064134d694.zip |
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/softing/softing_cs.c')
-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> |