diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2012-07-12 04:48:57 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2012-07-13 05:41:22 -0400 |
commit | d633ada85b0621905966c22e7c0eb3ad38e9d023 (patch) | |
tree | 60cd6846480c99cd07b8fe73f788f2af6b0e2b06 /arch/arm/mach-s5pv210 | |
parent | c01c4692419e0b6c2600effe3a5c6a0c6a0fa7c6 (diff) |
ARM: S5PV210: Add audio platform device in Goni 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-goni.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pv210/mach-goni.c b/arch/arm/mach-s5pv210/mach-goni.c index bf5087c2b7fe..b2cae1387869 100644 --- a/arch/arm/mach-s5pv210/mach-goni.c +++ b/arch/arm/mach-s5pv210/mach-goni.c | |||
@@ -859,12 +859,19 @@ static struct s5p_platform_fimc goni_fimc_md_platdata __initdata = { | |||
859 | .num_clients = ARRAY_SIZE(goni_camera_sensors), | 859 | .num_clients = ARRAY_SIZE(goni_camera_sensors), |
860 | }; | 860 | }; |
861 | 861 | ||
862 | /* Audio device */ | ||
863 | static struct platform_device goni_device_audio = { | ||
864 | .name = "smdk-audio", | ||
865 | .id = -1, | ||
866 | }; | ||
867 | |||
862 | static struct platform_device *goni_devices[] __initdata = { | 868 | static struct platform_device *goni_devices[] __initdata = { |
863 | &s3c_device_fb, | 869 | &s3c_device_fb, |
864 | &s5p_device_onenand, | 870 | &s5p_device_onenand, |
865 | &goni_spi_gpio, | 871 | &goni_spi_gpio, |
866 | &goni_i2c_gpio_pmic, | 872 | &goni_i2c_gpio_pmic, |
867 | &goni_i2c_gpio5, | 873 | &goni_i2c_gpio5, |
874 | &goni_device_audio, | ||
868 | &mmc2_fixed_voltage, | 875 | &mmc2_fixed_voltage, |
869 | &goni_device_gpiokeys, | 876 | &goni_device_gpiokeys, |
870 | &s5p_device_mfc, | 877 | &s5p_device_mfc, |