summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-nomadik/i2c-8815nhk.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2011-08-22 08:33:30 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-08-22 09:12:53 +0100
commit0f33286190634eeb3ec7638045980c39c98380f4 (patch)
tree385dfce25280fc464598fe080a56a434f711982d /arch/arm/mach-nomadik/i2c-8815nhk.c
parent8f3c4537bb08001c4772d66ad3fcfcf24d8d180d (diff)
downloadblackbird-op-linux-0f33286190634eeb3ec7638045980c39c98380f4.tar.gz
blackbird-op-linux-0f33286190634eeb3ec7638045980c39c98380f4.zip
ARM: 7032/1: plat-nomadik: break out GPIO driver specifics
The <[plat|mach]/gpio.h> file is included from upper directories and deal with generic GPIO and gpiolib stuff. Break out the platform and driver specific defines and functions into its own header file. Cc: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com> Cc: Alessandro Rubini <rubini@unipv.it> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-nomadik/i2c-8815nhk.c')
-rw-r--r--arch/arm/mach-nomadik/i2c-8815nhk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-nomadik/i2c-8815nhk.c b/arch/arm/mach-nomadik/i2c-8815nhk.c
index abfe25a08d6b..0fc2f6f1cc97 100644
--- a/arch/arm/mach-nomadik/i2c-8815nhk.c
+++ b/arch/arm/mach-nomadik/i2c-8815nhk.c
@@ -3,8 +3,8 @@
#include <linux/i2c.h>
#include <linux/i2c-algo-bit.h>
#include <linux/i2c-gpio.h>
-#include <linux/gpio.h>
#include <linux/platform_device.h>
+#include <plat/gpio-nomadik.h>
/*
* There are two busses in the 8815NHK.
OpenPOWER on IntegriCloud