ASoC: pxa: Convert imote2 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>
Šī revīzija ir iekļauta:

revīziju iesūtīja
Mark Brown

vecāks
5eb2c3d927
revīzija
ac1e89860a
@@ -593,10 +593,16 @@ static struct pxa2xx_udc_mach_info imote2_udc_info __initdata = {
|
||||
.udc_command = sg2_udc_command,
|
||||
};
|
||||
|
||||
static struct platform_device imote2_audio_device = {
|
||||
.name = "imote2-audio",
|
||||
.id = -1,
|
||||
};
|
||||
|
||||
static struct platform_device *imote2_devices[] = {
|
||||
&stargate2_flash_device,
|
||||
&imote2_leds,
|
||||
&sht15,
|
||||
&imote2_audio_device,
|
||||
};
|
||||
|
||||
static void __init imote2_init(void)
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user