diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-12-29 20:16:11 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-12-29 21:00:06 -0500 |
commit | 2445ecc3c036ae5f1cc0c3dfed4731d9519a3811 (patch) | |
tree | 2933161346e760b1052cb92227c5f47b485ea734 /arch/arm/mach-pxa | |
parent | 1b39bf3468e03016ffdcadef3dac1fd75d2db6fa (diff) |
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/mach-pxa')
-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 = { | |||
158 | EXPORT_SYMBOL(poodle_scoop_device); | 158 | EXPORT_SYMBOL(poodle_scoop_device); |
159 | 159 | ||
160 | 160 | ||
161 | static struct platform_device poodle_audio_device = { | ||
162 | .name = "poodle-audio", | ||
163 | .id = -1, | ||
164 | }; | ||
165 | |||
161 | /* LoCoMo device */ | 166 | /* LoCoMo device */ |
162 | static struct resource locomo_resources[] = { | 167 | static struct resource locomo_resources[] = { |
163 | [0] = { | 168 | [0] = { |
@@ -407,6 +412,7 @@ static struct platform_device sharpsl_rom_device = { | |||
407 | static struct platform_device *devices[] __initdata = { | 412 | static struct platform_device *devices[] __initdata = { |
408 | &poodle_locomo_device, | 413 | &poodle_locomo_device, |
409 | &poodle_scoop_device, | 414 | &poodle_scoop_device, |
415 | &poodle_audio_device, | ||
410 | &sharpsl_nand_device, | 416 | &sharpsl_nand_device, |
411 | &sharpsl_rom_device, | 417 | &sharpsl_rom_device, |
412 | }; | 418 | }; |