From: Kamlakant Patel Date: Mon, 19 Jan 2015 05:22:06 +0000 (+0530) Subject: gpio: ge: fix compilation error X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a0b66e3f5a2522d1a5cf1127bc8cba0834b0fbf6;p=linux-beck.git gpio: ge: fix compilation error Include linux/slab.h to fix following compilation error. drivers/gpio/gpio-ge.c: In function ‘gef_gpio_probe’: drivers/gpio/gpio-ge.c:95:2: error: implicit declaration of function ‘kfree’ [-Werror=implicit-function-declaration] kfree(bgc->gc.label); Signed-off-by: Kamlakant Patel Signed-off-by: Linus Walleij --- diff --git a/drivers/gpio/gpio-ge.c b/drivers/gpio/gpio-ge.c index 2456f6489bd1..6ea930372028 100644 --- a/drivers/gpio/gpio-ge.c +++ b/drivers/gpio/gpio-ge.c @@ -19,6 +19,7 @@ #include #include +#include #include #include #include