diff options
author | Kamlakant Patel <kamlakant.patel@linaro.org> | 2015-01-19 08:22:06 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2015-01-19 11:36:39 +0300 |
commit | a0b66e3f5a2522d1a5cf1127bc8cba0834b0fbf6 (patch) | |
tree | 2c894d1fc140f0dc3e26f25b7e49ba3776fc1e20 /drivers/gpio/gpio-ge.c | |
parent | 866010fb7ea03b73a0528b99298254c43ac12888 (diff) | |
download | linux-a0b66e3f5a2522d1a5cf1127bc8cba0834b0fbf6.tar.xz |
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/gpio-ge.c')
-rw-r--r-- | drivers/gpio/gpio-ge.c | 1 |
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> |