[<prev] [next>] [day] [month] [year] [list]
Message-ID: <1312978624-18273-1-git-send-email-linus.walleij@stericsson.com>
Date: Wed, 10 Aug 2011 14:17:04 +0200
From: Linus Walleij <linus.walleij@...ricsson.com>
To: Grant Likely <grant.likely@...retlab.ca>,
<linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>
Cc: Lee Jones <lee.jones@...aro.org>,
Linus Walleij <linus.walleij@...aro.org>,
zeal <zealcook@...il.com>,
Daniel Silverstone <dsilvers@...tec.co.uk>,
Ben Dooks <ben-linux@...ff.org>
Subject: [PATCH 06/19] mach-ks8695: fix GPIO LEDs
From: Linus Walleij <linus.walleij@...aro.org>
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
<linux/gpio.h>.
Cc: zeal <zealcook@...il.com>
Cc: Daniel Silverstone <dsilvers@...tec.co.uk>
Cc: Ben Dooks <ben-linux@...ff.org>
Signed-off-by: Linus Walleij <linus.walleij@...aro.org>
---
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>
--
1.7.3.2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists