From a0b66e3f5a2522d1a5cf1127bc8cba0834b0fbf6 Mon Sep 17 00:00:00 2001 From: Kamlakant Patel Date: Mon, 19 Jan 2015 10:52:06 +0530 Subject: 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 diff --git a/drivers/gpio/gpio-ge.c b/drivers/gpio/gpio-ge.c index 2456f64..6ea9303 100644 --- a/drivers/gpio/gpio-ge.c +++ b/drivers/gpio/gpio-ge.c @@ -19,6 +19,7 @@ #include #include +#include #include #include #include -- cgit v0.10.2