Files
android_kernel_xiaomi_sm8450/include/linux/platform_data
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
..
2012-10-19 18:46:51 +01:00
2012-09-17 20:55:54 +01:00
2012-06-30 10:15:07 +01:00
2013-06-11 20:25:58 +01:00
2012-09-08 10:20:09 +01:00
2012-12-05 10:55:54 -08:00
2012-07-11 15:36:45 -07:00
2013-04-29 18:28:13 -07:00
2013-07-05 11:40:26 +05:30
2013-07-21 17:24:41 +02:00
2012-11-02 12:00:36 -07:00
2013-06-04 21:03:56 +09:00
2012-05-22 06:48:02 -07:00
2012-12-03 18:48:23 +01:00
2012-09-23 21:08:33 -07:00
2012-06-13 13:13:37 +01:00
2012-09-14 08:14:07 +05:30
2012-12-06 13:54:51 -05:00
2012-09-18 12:28:22 +02:00
2013-05-25 10:33:30 -04:00
2013-08-18 07:30:16 -03:00