android_kernel_motorola_sm6225/arch/arm/plat-samsung
Linus Walleij c67d0f2926 ARM: s3c24xx: get rid of custom <mach/gpio.h>
This isolates the custom S3C24xx GPIO definition table to
<linux/platform_data/gpio-samsung-s3x24xx.h> as this is
used in a few different places in the kernel, removing the
need to depend on the implicit inclusion of <mach/gpio.h>
from <linux/gpio.h> and thus getting rid of a few nasty
cross-dependencies.

We also delete the nifty CONFIG_S3C24XX_GPIO_EXTRA stuff.
The biggest this can ever be for the S3C24XX is
CONFIG_S3C24XX_GPIO_EXTRA = 128, and then for CPU_S3C2443 or
CPU_S3C2416 32*12 GPIOs are added, so 32*12+128 = 512
is the absolute roof value on this platform. So we set
the size of ARCH_NR_GPIO to this and the GPIOs array will
fit any S3C24XX platform, as per pattern from other archs.

ChangeLog v2->v3:
- Move the movement of the S3C64XX gpio.h file out of
  this patch and into the follow-up patch where it belongs.
ChangeLog v1->v2:
- Added an #ifdef ARCH_S3C24XX around the header inclusion
  in drivers/gpio/gpio-samsung.c as we would otherwise
  have colliding definitions when compiling S3C64XX.
- Rename inclusion guard in the header file.

Cc: Tomasz Figa <tomasz.figa@gmail.com>
Cc: Sylwester Nawrocki <sylvester.nawrocki@gmail.com>
Cc: Ben Dooks <ben-linux@fluff.org>
Cc: linux-samsung-soc@vger.kernel.org
Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Acked-by: Heiko Stuebner <heiko@sntech.de>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2013-12-20 18:19:26 +01:00
..
include/plat ARM: SoC platform changes for 3.13 2013-11-11 16:49:45 +09:00
adc.c arch/arm/plat-samsung: don't check resource with devm_ioremap_resource 2013-05-18 11:59:33 +02:00
clock-clksrc.c
clock.c ARM: SAMSUNG: call clk_get_rate for debugfs rate files 2012-10-23 19:19:22 +09:00
cpu.c
dev-backlight.c ARM: SAMSUNG: Initialize PWM backlight enable_gpio field 2013-10-16 09:05:57 +02:00
dev-uart.c
devs.c ARM: driver updates for 3.13 2013-11-11 17:05:37 +09:00
dma-ops.c ARM: SAMSUNG: Remove unnecessary code for dma 2013-04-08 21:42:10 +09:00
dma.c
init.c ARM: S3C64XX: Bypass legacy initialization when booting with DT 2013-09-17 06:48:27 +09:00
Kconfig ARM: Samsung: Remove the MIPI PHY setup code 2013-10-16 13:48:08 -07:00
Makefile ARM: Samsung: Remove the MIPI PHY setup code 2013-10-16 13:48:08 -07:00
platformdata.c
pm-check.c
pm-gpio.c ARM: s3c24xx: get rid of custom <mach/gpio.h> 2013-12-20 18:19:26 +01:00
pm.c ARM: SAMSUNG: Save/restore only selected uart's registers 2013-07-24 17:05:07 +09:00
s3c-dma-ops.c ASoC: Samsung: Do not queue cyclic buffers multiple times 2013-08-29 17:31:02 +01:00
s5p-clock.c ARM: SAMSUNG: Update default rate for xusbxti clock 2012-07-13 15:34:30 +09:00
s5p-dev-mfc.c ARM: SAMSUNG: Make legacy MFC support code depend on SAMSUNG_ATAGS 2013-06-19 01:28:56 +09:00
s5p-dev-uart.c
s5p-irq-eint.c irqchip: Move ARM vic.h to include/linux/irqchip/arm-vic.h 2013-01-12 10:52:16 -06:00
s5p-irq-gpioint.c arm: Move chained_irq_(enter|exit) to a generic file 2013-03-26 16:11:43 +00:00
s5p-irq-pm.c
s5p-irq.c ARM: SAMSUNG: Remove remaining uses of plat/regs-timer.h header 2013-08-12 21:53:24 +02:00
s5p-pm.c
s5p-sleep.S ARM: SAMSUNG: check processor type before cache restoration in resume 2013-04-04 16:01:20 +09:00
setup-camif.c ARM: s3c24xx: get rid of custom <mach/gpio.h> 2013-12-20 18:19:26 +01:00
wakeup-mask.c
watchdog-reset.c ARM: SAMSUNG: Add watchdog reset driver 2013-06-19 03:13:16 +09:00