From a0b66e3f5a2522d1a5cf1127bc8cba0834b0fbf6 Mon Sep 17 00:00:00 2001 From: Kamlakant Patel Date: Mon, 19 Jan 2015 10:52:06 +0530 Subject: [PATCH] gpio: ge: fix compilation error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- drivers/gpio/gpio-ge.c | 1 + 1 file changed, 1 insertion(+) 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