From: Vincent Stehlé Date: Tue, 31 Dec 2013 10:55:08 +0000 (+0100) Subject: staging: dgap: fix missing header inclusion X-Git-Tag: v3.14-rc1~150^2~50 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=c0ffefa403f736b4cace721f57cfa8a31861f872;p=~emulex%2Finfiniband.git staging: dgap: fix missing header inclusion Include slab.h to fix the following compilation error: drivers/staging/dgap/dgap_fep5.c: In function ‘dgap_do_config_load’: drivers/staging/dgap/dgap_fep5.c:78:2: error: implicit declaration of function ‘kzalloc’ [-Werror=implicit-function-declaration] Signed-off-by: Vincent Stehlé Cc: Lidza Louina Cc: Greg Kroah-Hartman Cc: Scott H Kilau Cc: Eng.Linux@digi.com Cc: trivial@kernel.org Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/dgap/dgap_fep5.c b/drivers/staging/dgap/dgap_fep5.c index 15f9a851231..7deea2a4194 100644 --- a/drivers/staging/dgap/dgap_fep5.c +++ b/drivers/staging/dgap/dgap_fep5.c @@ -39,6 +39,7 @@ #include /* For copy_from_user/copy_to_user */ #include #include /* For tty_schedule_flip */ +#include #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,39) #include