From: Samuel Iglesias Gonsalvez Date: Mon, 22 Oct 2012 07:36:48 +0000 (+0200) Subject: Staging: ipack/carriers: fix missing include linux/slab.h X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9f3059c91b44b4c2bde1a1d706856d79fc5ea14c;p=linux-beck.git Staging: ipack/carriers: fix missing include linux/slab.h Kernel build failed for parisc architecture: drivers/staging/ipack/carriers/tpci200.c: In function 'tpci200_free_irq': drivers/staging/ipack/carriers/tpci200.c:190:2: error: implicit declaration of function 'kfree' [-Werror=implicit-function-declaration] drivers/staging/ipack/carriers/tpci200.c: In function 'tpci200_request_irq': drivers/staging/ipack/carriers/tpci200.c:217:2: error: implicit declaration of function 'kzalloc' [-Werror=implicit-function-declaration] Reported-by: Fengguang Wu Signed-off-by: Samuel Iglesias Gonsalvez Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/ipack/carriers/tpci200.c b/drivers/staging/ipack/carriers/tpci200.c index 829fd1ac8f8a..24e8e6d63f27 100644 --- a/drivers/staging/ipack/carriers/tpci200.c +++ b/drivers/staging/ipack/carriers/tpci200.c @@ -12,6 +12,7 @@ */ #include +#include #include "tpci200.h" static const u16 tpci200_status_timeout[] = {