From: Grant Likely Date: Mon, 5 Jul 2010 22:11:55 +0000 (-0600) Subject: of/gpio: fix of_gpio includes X-Git-Tag: v2.6.36-rc1~543^2~41 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2e13cba8dc35774bf1d7169733e876c5b7adee54;p=thirdparty%2Fkernel%2Flinux.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 09f05a1786685..905960338fb21 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