Commit a0b66e3f authored by Kamlakant Patel's avatar Kamlakant Patel Committed by Linus Walleij

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: default avatarKamlakant Patel <kamlakant.patel@linaro.org>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 866010fb
......@@ -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>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment