From: Randy Dunlap Date: Wed, 9 Feb 2011 20:43:38 +0000 (-0800) Subject: can: softing_cs needs slab.h X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=69e6ed186009ce86cbf5da95f45227064134d694;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git can: softing_cs needs slab.h From: Randy Dunlap 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 Signed-off-by: David S. Miller --- 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 #include +#include #include #include