[PATCH 06/19] mach-ks8695: fix GPIO LEDs

From: Linus Walleij
Date: Wed Aug 10 2011 - 08:17:35 EST

From: Linus Walleij <linus.walleij@xxxxxxxxxx>

Enabling the LEDs on the ks8695 doesn't even compile, fix it with
a proper include and also replace a <mach/gpio.h> with the proper

Cc: zeal <zealcook@xxxxxxxxx>
Cc: Daniel Silverstone <dsilvers@xxxxxxxxxxxx>
Cc: Ben Dooks <ben-linux@xxxxxxxxx>
Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
arch/arm/mach-ks8695/devices.c | 1 +
arch/arm/mach-ks8695/leds.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-ks8695/devices.c b/arch/arm/mach-ks8695/devices.c
index b89fb6d..73bd638 100644
--- a/arch/arm/mach-ks8695/devices.c
+++ b/arch/arm/mach-ks8695/devices.c
@@ -20,6 +20,7 @@
#include <asm/mach/arch.h>
#include <asm/mach/map.h>

+#include <linux/gpio.h>
#include <linux/platform_device.h>

#include <mach/irqs.h>
diff --git a/arch/arm/mach-ks8695/leds.c b/arch/arm/mach-ks8695/leds.c
index 4bd7075..d6f6502 100644
--- a/arch/arm/mach-ks8695/leds.c
+++ b/arch/arm/mach-ks8695/leds.c
@@ -11,6 +11,7 @@
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
+#include <linux/gpio.h>

#include <asm/leds.h>
#include <mach/devices.h>

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/