From 2e13cba8dc35774bf1d7169733e876c5b7adee54 Mon Sep 17 00:00:00 2001 From: Grant Likely Date: Mon, 5 Jul 2010 16:11:55 -0600 Subject: 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 --- drivers/of/gpio.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'drivers/of') 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 -- cgit v1.2.3-59-g8ed1b