diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2012-07-12 04:48:53 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2012-07-13 05:41:16 -0400 |
commit | c01c4692419e0b6c2600effe3a5c6a0c6a0fa7c6 (patch) | |
tree | 36ea373902fc0f68a76aee0cbe2596a78ede5593 /arch/arm/mach-s5pv210 | |
parent | 1b1ce356e5da9637e25f4de22eb19dcb98d24dbb (diff) |
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: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Sangbeom Kim <sbkim73@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s5pv210')
-rw-r--r-- | arch/arm/mach-s5pv210/mach-aquila.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pv210/mach-aquila.c b/arch/arm/mach-s5pv210/mach-aquila.c index af528f9e97f9..78028df86c5d 100644 --- a/arch/arm/mach-s5pv210/mach-aquila.c +++ b/arch/arm/mach-s5pv210/mach-aquila.c | |||
@@ -600,10 +600,17 @@ static void aquila_setup_sdhci(void) | |||
600 | s3c_sdhci2_set_platdata(&aquila_hsmmc2_data); | 600 | s3c_sdhci2_set_platdata(&aquila_hsmmc2_data); |
601 | }; | 601 | }; |
602 | 602 | ||
603 | /* Audio device */ | ||
604 | static struct platform_device aquila_device_audio = { | ||
605 | .name = "smdk-audio", | ||
606 | .id = -1, | ||
607 | }; | ||
608 | |||
603 | static struct platform_device *aquila_devices[] __initdata = { | 609 | static struct platform_device *aquila_devices[] __initdata = { |
604 | &aquila_i2c_gpio_pmic, | 610 | &aquila_i2c_gpio_pmic, |
605 | &aquila_i2c_gpio5, | 611 | &aquila_i2c_gpio5, |
606 | &aquila_device_gpiokeys, | 612 | &aquila_device_gpiokeys, |
613 | &aquila_device_audio, | ||
607 | &s3c_device_fb, | 614 | &s3c_device_fb, |
608 | &s5p_device_onenand, | 615 | &s5p_device_onenand, |
609 | &s3c_device_hsmmc0, | 616 | &s3c_device_hsmmc0, |