Commit c01c4692 authored by Sachin Kamat's avatar Sachin Kamat Committed by Kukjin Kim

ARM: S5PV210: Add audio platform device in Aquila board

After using snd_soc_register_card() in smdk_wm8994.c, the sound
card is registered as a platform driver and it needs related platform
device entry in machine file.
Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Acked-by: default avatarSangbeom Kim <sbkim73@samsung.com>
Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
parent 1b1ce356
...@@ -600,10 +600,17 @@ static void aquila_setup_sdhci(void) ...@@ -600,10 +600,17 @@ static void aquila_setup_sdhci(void)
s3c_sdhci2_set_platdata(&aquila_hsmmc2_data); s3c_sdhci2_set_platdata(&aquila_hsmmc2_data);
}; };
/* Audio device */
static struct platform_device aquila_device_audio = {
.name = "smdk-audio",
.id = -1,
};
static struct platform_device *aquila_devices[] __initdata = { static struct platform_device *aquila_devices[] __initdata = {
&aquila_i2c_gpio_pmic, &aquila_i2c_gpio_pmic,
&aquila_i2c_gpio5, &aquila_i2c_gpio5,
&aquila_device_gpiokeys, &aquila_device_gpiokeys,
&aquila_device_audio,
&s3c_device_fb, &s3c_device_fb,
&s5p_device_onenand, &s5p_device_onenand,
&s3c_device_hsmmc0, &s3c_device_hsmmc0,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment