diff options
author | 2011-12-30 09:16:11 +0800 | |
---|---|---|
committer | 2011-12-30 02:00:06 +0000 | |
commit | 2445ecc3c036ae5f1cc0c3dfed4731d9519a3811 (patch) | |
tree | 2933161346e760b1052cb92227c5f47b485ea734 /arch/arm | |
parent | ASoC: Enable ASoC register map dump for some regmap CODECs (diff) | |
download | linux-2445ecc3c036ae5f1cc0c3dfed4731d9519a3811.tar.gz linux-2445ecc3c036ae5f1cc0c3dfed4731d9519a3811.tar.bz2 linux-2445ecc3c036ae5f1cc0c3dfed4731d9519a3811.zip |
ASoC: pxa: Convert poodle 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>
Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-pxa/poodle.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/poodle.c b/arch/arm/mach-pxa/poodle.c index 50c833177866..bd5682a31f34 100644 --- a/arch/arm/mach-pxa/poodle.c +++ b/arch/arm/mach-pxa/poodle.c @@ -158,6 +158,11 @@ static struct scoop_pcmcia_config poodle_pcmcia_config = { EXPORT_SYMBOL(poodle_scoop_device); +static struct platform_device poodle_audio_device = { + .name = "poodle-audio", + .id = -1, +}; + /* LoCoMo device */ static struct resource locomo_resources[] = { [0] = { @@ -407,6 +412,7 @@ static struct platform_device sharpsl_rom_device = { static struct platform_device *devices[] __initdata = { &poodle_locomo_device, &poodle_scoop_device, + &poodle_audio_device, &sharpsl_nand_device, &sharpsl_rom_device, }; |