summaryrefslogtreecommitdiff
path: root/arch/arm/mach-pxa
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-12-15 02:52:42 (GMT)
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-12-17 09:31:28 (GMT)
commit62133829fa12a55902ac400b74e424c1ecd161b3 (patch)
treee4514afe7ab84d86246d4b5fb5b6e85e725dfa2d /arch/arm/mach-pxa
parent7243a4b1eb377b3c5376cbf0ebdf87972b969127 (diff)
downloadlinux-fsl-qoriq-62133829fa12a55902ac400b74e424c1ecd161b3.tar.xz
ASoC: pxa: Convert e740_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')
-rw-r--r--arch/arm/mach-pxa/eseries.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/eseries.c b/arch/arm/mach-pxa/eseries.c
index d82b7aa..d157ca9 100644
--- a/arch/arm/mach-pxa/eseries.c
+++ b/arch/arm/mach-pxa/eseries.c
@@ -525,12 +525,18 @@ static struct platform_device e740_t7l66xb_device = {
.resource = eseries_tmio_resources,
};
+static struct platform_device e740_audio_device = {
+ .name = "e740-audio",
+ .id = -1,
+};
+
/* ----------------------------------------------------------------------- */
static struct platform_device *e740_devices[] __initdata = {
&e740_fb_device,
&e740_t7l66xb_device,
&e7xx_gpio_vbus,
+ &e740_audio_device,
};
static void __init e740_init(void)