Skip to contentSkip to conversation

ASoC: mx27vis-aic32x4: Convert it to platform driver

PATCH Applied Fabio Estevam 2 participants 2 messages Mar 12, 2012 – Mar 13, 2012

Subsystems (5)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH v4 1/1 ASoC: mx27vis-aic32x4: Convert it to platform driver

Convert mx27vis-aic32x4 to platform driver.

---
Changes since v3:
- Rebased against asoc for-3.4
Changes since v2:
- Add missing initialization of mx27vis_aic32x4.dev
- Add Tested-by line
Changes since v1:
- Fix MODULE_ALIAS
- Rename it to mx27vis

 arch/arm/mach-imx/mach-imx27_visstrim_m10.c |    1 +
 sound/soc/imx/mx27vis-aic32x4.c             |   41 ++++++++++++++------------
 2 files changed, 23 insertions(+), 19 deletions(-)
arch/arm/mach-imx/mach-imx27_visstrim_m10.c +1 -0
index c2766ae..428459f 100644
@@ -263,6 +263,7 @@ static void __init visstrim_m10_board_init(void)
 	imx27_add_fec(NULL);
 	imx_add_gpio_keys(&visstrim_gpio_keys_platform_data);
 	platform_add_devices(platform_devices, ARRAY_SIZE(platform_devices));
+	imx_add_platform_device("mx27vis", 0, NULL, 0, NULL, 0);
 }
 
 static void __init visstrim_m10_timer_init(void)
sound/soc/imx/mx27vis-aic32x4.c +22 -19

66 lines not on this page · raw message

Signature · 1 line
1.7.1
Applied
#1 lore raw
Quoted 1 line · Fabio Estevam

Convert mx27vis-aic32x4 to platform driver.

Applied, thanks.