Merge tag 'samsung-cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung into next/cleanup
From Kukjin Kim: Samsung Cleanup for v3.13 - remove unnecessary config options and header inclusions - use CONFIG_ARCH_S3C64XX instead of PLAT_S3C64XX * tag 'samsung-cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung: ARM: EXYNOS: remove CONFIG_MACH_EXYNOS[4, 5]_DT config options ARM: EXYNOS: remove unnecessary header inclusions from exynos4/5 dt machine file ARM: S3C64XX: Kill CONFIG_PLAT_S3C64XX ASoC: samsung: Use CONFIG_ARCH_S3C64XX to check for S3C64XX support s3c-camif: Use CONFIG_ARCH_S3C64XX to check for S3C64XX support gpio: samsung: Use CONFIG_ARCH_S3C64XX to check for S3C64XX support ARM: S3C64XX: Move if ARCH_S3C64XX statement into mach-s3c64xx Signed-off-by: Olof Johansson <olof@lixom.net>
This commit is contained in:
@@ -1033,7 +1033,7 @@ static int s3c24xx_gpiolib_fbank_to_irq(struct gpio_chip *chip, unsigned offset)
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_PLAT_S3C64XX
|
||||
#ifdef CONFIG_ARCH_S3C64XX
|
||||
static int s3c64xx_gpiolib_mbank_to_irq(struct gpio_chip *chip, unsigned pin)
|
||||
{
|
||||
return pin < 5 ? IRQ_EINT(23) + pin : -ENXIO;
|
||||
@@ -1174,7 +1174,7 @@ struct samsung_gpio_chip s3c24xx_gpios[] = {
|
||||
*/
|
||||
|
||||
static struct samsung_gpio_chip s3c64xx_gpios_4bit[] = {
|
||||
#ifdef CONFIG_PLAT_S3C64XX
|
||||
#ifdef CONFIG_ARCH_S3C64XX
|
||||
{
|
||||
.chip = {
|
||||
.base = S3C64XX_GPA(0),
|
||||
@@ -1227,7 +1227,7 @@ static struct samsung_gpio_chip s3c64xx_gpios_4bit[] = {
|
||||
};
|
||||
|
||||
static struct samsung_gpio_chip s3c64xx_gpios_4bit2[] = {
|
||||
#ifdef CONFIG_PLAT_S3C64XX
|
||||
#ifdef CONFIG_ARCH_S3C64XX
|
||||
{
|
||||
.base = S3C64XX_GPH_BASE + 0x4,
|
||||
.chip = {
|
||||
@@ -1257,7 +1257,7 @@ static struct samsung_gpio_chip s3c64xx_gpios_4bit2[] = {
|
||||
};
|
||||
|
||||
static struct samsung_gpio_chip s3c64xx_gpios_2bit[] = {
|
||||
#ifdef CONFIG_PLAT_S3C64XX
|
||||
#ifdef CONFIG_ARCH_S3C64XX
|
||||
{
|
||||
.base = S3C64XX_GPF_BASE,
|
||||
.config = &samsung_gpio_cfgs[6],
|
||||
|
Reference in New Issue
Block a user