From: Grant Likely Date: Mon, 5 Jul 2010 22:11:55 +0000 (-0600) Subject: of/gpio: fix of_gpio includes X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2e13cba8dc35774bf1d7169733e876c5b7adee54;p=linux-beck.git of/gpio: fix of_gpio includes drivers/of/gpio.c is missing includes for of_irq and struct device which cause build failures on ARM. This patch adds the correct include files and removes the unneeded kernel.h include Signed-off-by: Grant Likely --- diff --git a/drivers/of/gpio.c b/drivers/of/gpio.c index 09f05a178668..905960338fb2 100644 --- a/drivers/of/gpio.c +++ b/drivers/of/gpio.c @@ -11,13 +11,14 @@ * (at your option) any later version. */ -#include +#include #include +#include #include #include -#include +#include #include -#include +#include /** * of_get_gpio_flags - Get a GPIO number and flags to use with GPIO API