aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-samsung.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2014-01-14 08:24:24 -0500
committerLinus Walleij <linus.walleij@linaro.org>2014-01-14 09:24:06 -0500
commitb0161caa72b6ff60f82f5531b9b728f3b6d19e1b (patch)
treec995add34bdda3c0b6e9b9fa057b7cedc95fad92 /drivers/gpio/gpio-samsung.c
parentccb6fbb990202e647523a003018f6edaed17b53d (diff)
ARM: S3C[24|64]xx: move includes back under <mach/> scope
When refactoring and breaking out the includes for the machine-specific GPIO configuration, two files were created in <linux/platform_data/gpio-samsung-s3c[24|64]xx.h>, but as that namespace shall be used for defining data exchanged between machines and drivers, using it for these broad macros and config settings is wrong. Move the headers back into the machine-local <mach/gpio-samsung.h> file and think about the next step. Reported-by: Arnd Bergmann <arnd@arndb.de> Cc: Tomasz Figa <tomasz.figa@gmail.com> Cc: Sylwester Nawrocki <sylvester.nawrocki@gmail.com> Cc: Ben Dooks <ben-linux@fluff.org> Cc: Kukjin Kim <kgene.kim@samsung.com> Cc: linux-samsung-soc@vger.kernel.org Acked-by: Mark Brown <broonie@linaro.org> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-samsung.c')
-rw-r--r--drivers/gpio/gpio-samsung.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/gpio/gpio-samsung.c b/drivers/gpio/gpio-samsung.c
index 990754b97f2e..9741cce11df5 100644
--- a/drivers/gpio/gpio-samsung.c
+++ b/drivers/gpio/gpio-samsung.c
@@ -27,17 +27,12 @@
27#include <linux/of.h> 27#include <linux/of.h>
28#include <linux/slab.h> 28#include <linux/slab.h>
29#include <linux/of_address.h> 29#include <linux/of_address.h>
30#ifdef CONFIG_ARCH_S3C24XX
31#include <linux/platform_data/gpio-samsung-s3c24xx.h>
32#endif
33#ifdef CONFIG_ARCH_S3C64XX
34#include <linux/platform_data/gpio-samsung-s3c64xx.h>
35#endif
36 30
37#include <asm/irq.h> 31#include <asm/irq.h>
38 32
39#include <mach/map.h> 33#include <mach/map.h>
40#include <mach/regs-gpio.h> 34#include <mach/regs-gpio.h>
35#include <mach/gpio-samsung.h>
41 36
42#include <plat/cpu.h> 37#include <plat/cpu.h>
43#include <plat/gpio-core.h> 38#include <plat/gpio-core.h>