summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-h1940.c
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2009-05-13 22:52:24 +0100
committerBen Dooks <ben-linux@fluff.org>2009-05-18 16:25:40 +0100
commitec976d6eb021dc8f2994248c310a41540f4756bd (patch)
tree5e8864353b70625baf9f88860729d5e2934e21f3 /drivers/leds/leds-h1940.c
parent9f05f6a921353f4293cda37f221b9bfa532d3c57 (diff)
downloadop-kernel-dev-ec976d6eb021dc8f2994248c310a41540f4756bd.zip
op-kernel-dev-ec976d6eb021dc8f2994248c310a41540f4756bd.tar.gz
[ARM] S3C24XX: GPIO: Move gpio functions out of <mach/hardware.h>
Move all the gpio functions out of <mach/hardware.h> as this file is for defining the generic IO base addresses for the kernel IO calls. Make a new header <mach/gpio-fns.h> to take this and include it via the chain from <linux/gpio.h> which is what most of these files should be using (and will be changed as soon as possible). Note, this does make minor changes to some drivers but should not mess up any pending merges. CC: Richard Purdie <rpurdie@rpsys.net> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> CC: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'drivers/leds/leds-h1940.c')
-rw-r--r--drivers/leds/leds-h1940.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/leds/leds-h1940.c b/drivers/leds/leds-h1940.c
index 1aa46a3..173d104 100644
--- a/drivers/leds/leds-h1940.c
+++ b/drivers/leds/leds-h1940.c
@@ -16,6 +16,8 @@
#include <linux/string.h>
#include <linux/ctype.h>
#include <linux/leds.h>
+#include <linux/gpio.h>
+
#include <mach/regs-gpio.h>
#include <mach/hardware.h>
#include <mach/h1940-latch.h>
OpenPOWER on IntegriCloud