ARM: lpc32xx: move custom GPIO header
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 21 Nov 2013 12:55:14 +0000 (13:55 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 3 Dec 2013 10:26:06 +0000 (11:26 +0100)
Move <mach/gpio-lpc32xx.h> to <linux/platform_data/gpio-lpc32xx.h>.

Acked-by: Roland Stigge <stigge@antcom.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-lpc32xx/phy3250.c
drivers/gpio/gpio-lpc32xx.c
include/linux/platform_data/gpio-lpc32xx.h [moved from arch/arm/mach-lpc32xx/include/mach/gpio-lpc32xx.h with 100% similarity]

index e54f87e..34932e0 100644 (file)
@@ -36,6 +36,7 @@
 #include <linux/clk.h>
 #include <linux/mtd/lpc32xx_slc.h>
 #include <linux/mtd/lpc32xx_mlc.h>
+#include <linux/platform_data/gpio-lpc32xx.h>
 
 #include <asm/setup.h>
 #include <asm/mach-types.h>
@@ -44,7 +45,6 @@
 #include <mach/hardware.h>
 #include <mach/platform.h>
 #include <mach/board.h>
-#include <mach/gpio-lpc32xx.h>
 #include "common.h"
 
 /*
index 2d5555d..a7093e0 100644 (file)
 #include <linux/of_gpio.h>
 #include <linux/platform_device.h>
 #include <linux/module.h>
+#include <linux/platform_data/gpio-lpc32xx.h>
 
 #include <mach/hardware.h>
 #include <mach/platform.h>
-#include <mach/gpio-lpc32xx.h>
 #include <mach/irqs.h>
 
 #define LPC32XX_GPIO_P3_INP_STATE              _GPREG(0x000)