diff options
author | Robby Cai <R63905@freescale.com> | 2010-03-23 18:40:46 +0800 |
---|---|---|
committer | Alejandro Gonzalez <alex.gonzalez@digi.com> | 2010-05-25 11:20:16 +0200 |
commit | 36b6880f6503d80a643f32d9dc48e2851660c19c (patch) | |
tree | a8942c189f25ae3568ac81dc0e3818cf148e4ec7 /arch/arm/plat-mxs | |
parent | f8b9ddfb326707d4c222843c81ae2ba50f31b481 (diff) |
ENGR00121886 Port VIIM driver to new MSL
Port VIIM driver to new MSL
Signed-off-by: Robby Cai <R63905@freescale.com>
Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
Diffstat (limited to 'arch/arm/plat-mxs')
-rw-r--r-- | arch/arm/plat-mxs/device.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/plat-mxs/device.c b/arch/arm/plat-mxs/device.c index 88c477cfd05e..67520cd767ef 100644 --- a/arch/arm/plat-mxs/device.c +++ b/arch/arm/plat-mxs/device.c @@ -399,6 +399,16 @@ static struct platform_device mxs_sgtl5000[] = { }; #endif +#if defined(CONFIG_MXS_VIIM) || defined(CONFIG_MXS_VIIM_MODULE) +struct platform_device mxs_viim = { + .name = "mxs_viim", + .id = 0, + .dev = { + .release = mxs_nop_release, + }, +}; +#endif + #if defined(CONFIG_SND_SOC_MXS_SPDIF) || \ defined(CONFIG_SND_SOC_MXS_SPDIF_MODULE) static struct platform_device mxs_spdif[] = { @@ -508,6 +518,14 @@ static struct mxs_dev_lookup dev_lookup[] = { }, #endif +#if defined(CONFIG_MXS_VIIM) || defined(CONFIG_MXS_VIIM_MODULE) + { + .name = "mxs_viim", + .size = 1, + .pdev = &mxs_viim, + }, +#endif + #if defined(CONFIG_FEC) || defined(CONFIG_FEC_MODULE) { .name = "mxs-fec", |