aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-exynos/mach-smdkv310.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2012-07-12 04:48:49 -0400
committerKukjin Kim <kgene.kim@samsung.com>2012-07-13 05:41:04 -0400
commit1b1ce356e5da9637e25f4de22eb19dcb98d24dbb (patch)
treecfd70cf7ff931fad86f655980abb72713a702474 /arch/arm/mach-exynos/mach-smdkv310.c
parent067eb26f44a095c2e3cd6b61697633e9ed5c82ff (diff)
ARM: EXYNOS: Add audio platform device in SMDKV310 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-exynos/mach-smdkv310.c')
-rw-r--r--arch/arm/mach-exynos/mach-smdkv310.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos/mach-smdkv310.c b/arch/arm/mach-exynos/mach-smdkv310.c
index 7b1b86663e51..7464a45745d5 100644
--- a/arch/arm/mach-exynos/mach-smdkv310.c
+++ b/arch/arm/mach-exynos/mach-smdkv310.c
@@ -275,6 +275,12 @@ static void __init smdkv310_ohci_init(void)
275/* USB OTG */ 275/* USB OTG */
276static struct s3c_hsotg_plat smdkv310_hsotg_pdata; 276static struct s3c_hsotg_plat smdkv310_hsotg_pdata;
277 277
278/* Audio device */
279static struct platform_device smdkv310_device_audio = {
280 .name = "smdk-audio",
281 .id = -1,
282};
283
278static struct platform_device *smdkv310_devices[] __initdata = { 284static struct platform_device *smdkv310_devices[] __initdata = {
279 &s3c_device_hsmmc0, 285 &s3c_device_hsmmc0,
280 &s3c_device_hsmmc1, 286 &s3c_device_hsmmc1,
@@ -307,6 +313,7 @@ static struct platform_device *smdkv310_devices[] __initdata = {
307 &samsung_asoc_dma, 313 &samsung_asoc_dma,
308 &samsung_asoc_idma, 314 &samsung_asoc_idma,
309 &s5p_device_fimd0, 315 &s5p_device_fimd0,
316 &smdkv310_device_audio,
310 &smdkv310_lcd_lte480wv, 317 &smdkv310_lcd_lte480wv,
311 &smdkv310_smsc911x, 318 &smdkv310_smsc911x,
312 &exynos4_device_ahci, 319 &exynos4_device_ahci,