ARM: s3c24xx: Remove non-existing SND_SOC_SMDK2443_WM9710
authorKrzysztof Kozlowski <krzk@kernel.org>
Mon, 17 Jul 2017 05:48:08 +0000 (07:48 +0200)
committerKrzysztof Kozlowski <krzk@kernel.org>
Thu, 20 Jul 2017 05:18:10 +0000 (07:18 +0200)
There is no CONFIG_SND_SOC_SMDK2443_WM9710 so get rid of it.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm/mach-s3c24xx/mach-smdk2443.c

index 87fe5c5b80739fb9c36627943e813260a619406f..474cd81aa8ad58bd261e1fc0371ea8a19bf30369 100644 (file)
@@ -111,9 +111,6 @@ static struct platform_device *smdk2443_devices[] __initdata = {
        &s3c_device_wdt,
        &s3c_device_i2c0,
        &s3c_device_hsmmc1,
-#ifdef CONFIG_SND_SOC_SMDK2443_WM9710
-       &s3c_device_ac97,
-#endif
        &s3c2443_device_dma,
 };
 
@@ -133,11 +130,6 @@ static void __init smdk2443_init_time(void)
 static void __init smdk2443_machine_init(void)
 {
        s3c_i2c0_set_platdata(NULL);
-
-#ifdef CONFIG_SND_SOC_SMDK2443_WM9710
-       s3c24xx_ac97_setup_gpio(S3C24XX_AC97_GPE0);
-#endif
-
        platform_add_devices(smdk2443_devices, ARRAY_SIZE(smdk2443_devices));
        smdk_machine_init();
 }