diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2012-01-26 14:38:31 +0400 |
---|---|---|
committer | Liam Girdwood <lrg@ti.com> | 2012-03-12 17:34:19 +0400 |
commit | 0210dc4eafcfd1b38ac178ebf63627f359d6371d (patch) | |
tree | 1106068c62c7c79e5606193eff1224135a557192 /arch/arm/mach-omap1 | |
parent | 0324e02a077de6bffff566fa43fd7b46f4b3ebd8 (diff) | |
download | linux-0210dc4eafcfd1b38ac178ebf63627f359d6371d.tar.xz |
ARM: OMAP: mcbsp: Convert core driver to proper platform driver
Convert the plat-omap/mcbsp.c driver to be proper platform driver.
Remove the omap_mcbsp_init function call which was called from
mach-omap1/2/mcbsp.c to register the platform driver for the just
created platform device in the same function.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Tested-by: Grazvydas Ignotas <notasas@gmail.com>
Tested-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Acked-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Signed-off-by: Liam Girdwood <lrg@ti.com>
Diffstat (limited to 'arch/arm/mach-omap1')
-rw-r--r-- | arch/arm/mach-omap1/mcbsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap1/mcbsp.c b/arch/arm/mach-omap1/mcbsp.c index 91f9abbd3250..fe11e135730c 100644 --- a/arch/arm/mach-omap1/mcbsp.c +++ b/arch/arm/mach-omap1/mcbsp.c @@ -449,7 +449,7 @@ static int __init omap1_mcbsp_init(void) omap16xx_mcbsp_pdata, OMAP16XX_MCBSP_COUNT); - return omap_mcbsp_init(); + return 0; } arch_initcall(omap1_mcbsp_init); |