diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-12-14 21:53:29 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-12-17 04:31:29 -0500 |
commit | 5eb2c3d9273ae63d6b347cde38fe15bda8be1361 (patch) | |
tree | a0095ff505c3b3072260e79931c16aca808c173c /arch/arm/mach-pxa/eseries.c | |
parent | 62133829fa12a55902ac400b74e424c1ecd161b3 (diff) |
ASoC: pxa: Convert e750_wm9705 to use snd_soc_register_card()
Use snd_soc_register_card() instead of creating a "soc-audio" platform device.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'arch/arm/mach-pxa/eseries.c')
-rw-r--r-- | arch/arm/mach-pxa/eseries.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/eseries.c b/arch/arm/mach-pxa/eseries.c index d157ca9f0f3c..3abfdb908d4c 100644 --- a/arch/arm/mach-pxa/eseries.c +++ b/arch/arm/mach-pxa/eseries.c | |||
@@ -724,12 +724,18 @@ static struct platform_device e750_tc6393xb_device = { | |||
724 | .resource = eseries_tmio_resources, | 724 | .resource = eseries_tmio_resources, |
725 | }; | 725 | }; |
726 | 726 | ||
727 | static struct platform_device e750_audio_device = { | ||
728 | .name = "e750-audio", | ||
729 | .id = -1, | ||
730 | }; | ||
731 | |||
727 | /* ------------------------------------------------------------- */ | 732 | /* ------------------------------------------------------------- */ |
728 | 733 | ||
729 | static struct platform_device *e750_devices[] __initdata = { | 734 | static struct platform_device *e750_devices[] __initdata = { |
730 | &e750_fb_device, | 735 | &e750_fb_device, |
731 | &e750_tc6393xb_device, | 736 | &e750_tc6393xb_device, |
732 | &e7xx_gpio_vbus, | 737 | &e7xx_gpio_vbus, |
738 | &e750_audio_device, | ||
733 | }; | 739 | }; |
734 | 740 | ||
735 | static void __init e750_init(void) | 741 | static void __init e750_init(void) |