summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-12-15 10:54:25 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-12-17 09:31:31 +0000
commit1eb0202dc7e45be5996416bc41489ae5a75485e5 (patch)
tree1527825a28772e184d2b57d9b7dd8f3a78b66ac6 /arch
parentf285b8c83a8dccc70f168bb1eb6f04c8e36450a6 (diff)
downloadop-kernel-dev-1eb0202dc7e45be5996416bc41489ae5a75485e5.zip
op-kernel-dev-1eb0202dc7e45be5996416bc41489ae5a75485e5.tar.gz
ASoC: pxa: Convert e800_wm9712 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')
-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 3abfdb9..4bbc3fa 100644
--- a/arch/arm/mach-pxa/eseries.c
+++ b/arch/arm/mach-pxa/eseries.c
@@ -936,12 +936,18 @@ static struct platform_device e800_tc6393xb_device = {
.resource = eseries_tmio_resources,
};
+static struct platform_device e800_audio_device = {
+ .name = "e800-audio",
+ .id = -1,
+};
+
/* ----------------------------------------------------------------------- */
static struct platform_device *e800_devices[] __initdata = {
&e800_fb_device,
&e800_tc6393xb_device,
&e800_gpio_vbus,
+ &e800_audio_device,
};
static void __init e800_init(void)
OpenPOWER on IntegriCloud