aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/mcbsp.c
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2012-01-26 05:38:31 -0500
committerLiam Girdwood <lrg@ti.com>2012-03-12 09:34:19 -0400
commit0210dc4eafcfd1b38ac178ebf63627f359d6371d (patch)
tree1106068c62c7c79e5606193eff1224135a557192 /arch/arm/mach-omap2/mcbsp.c
parent0324e02a077de6bffff566fa43fd7b46f4b3ebd8 (diff)
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-omap2/mcbsp.c')
-rw-r--r--arch/arm/mach-omap2/mcbsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/mcbsp.c b/arch/arm/mach-omap2/mcbsp.c
index fb4bcf81a183..b36d443a6fd9 100644
--- a/arch/arm/mach-omap2/mcbsp.c
+++ b/arch/arm/mach-omap2/mcbsp.c
@@ -193,6 +193,6 @@ static int __init omap2_mcbsp_init(void)
193 if (!mcbsp_ptr) 193 if (!mcbsp_ptr)
194 return -ENOMEM; 194 return -ENOMEM;
195 195
196 return omap_mcbsp_init(); 196 return 0;
197} 197}
198arch_initcall(omap2_mcbsp_init); 198arch_initcall(omap2_mcbsp_init);