summaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorKamlakant Patel <kamlakant.patel@linaro.org>2015-01-19 10:52:06 +0530
committerLinus Walleij <linus.walleij@linaro.org>2015-01-19 09:36:39 +0100
commita0b66e3f5a2522d1a5cf1127bc8cba0834b0fbf6 (patch)
tree2c894d1fc140f0dc3e26f25b7e49ba3776fc1e20 /drivers/gpio
parent866010fb7ea03b73a0528b99298254c43ac12888 (diff)
downloadlinux-stable-a0b66e3f5a2522d1a5cf1127bc8cba0834b0fbf6.tar.gz
linux-stable-a0b66e3f5a2522d1a5cf1127bc8cba0834b0fbf6.tar.bz2
linux-stable-a0b66e3f5a2522d1a5cf1127bc8cba0834b0fbf6.zip
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 <kamlakant.patel@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/gpio-ge.c1
1 files changed, 1 insertions, 0 deletions
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 <linux/kernel.h>
#include <linux/io.h>
+#include <linux/slab.h>
#include <linux/of_device.h>
#include <linux/of_gpio.h>
#include <linux/of_address.h>