From: Geert Uytterhoeven Date: Thu, 29 Aug 2013 20:53:25 +0000 (+0200) Subject: staging: dgap: Add missing #include X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=351699d7ebb1e489d2ee5b51d1b4dd4cc2a822ac;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git staging: dgap: Add missing #include drivers/staging/dgap/dgap_driver.c: In function ‘dgap_cleanup_module’: drivers/staging/dgap/dgap_driver.c:423: error: implicit declaration of function ‘kfree’ drivers/staging/dgap/dgap_driver.c: In function ‘dgap_driver_kzmalloc’: drivers/staging/dgap/dgap_driver.c:940: error: implicit declaration of function ‘kmalloc’ drivers/staging/dgap/dgap_driver.c:940: warning: initialization makes pointer from integer without a cast Signed-off-by: Geert Uytterhoeven Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/dgap/dgap_driver.c b/drivers/staging/dgap/dgap_driver.c index 9f777e41c9a6..724a685753dd 100644 --- a/drivers/staging/dgap/dgap_driver.c +++ b/drivers/staging/dgap/dgap_driver.c @@ -36,6 +36,7 @@ #include #include #include /* For udelay */ +#include #include /* For copy_from_user/copy_to_user */ #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,39)