ARM: OMAP: Allocate McBSP devices dynamically
authorChandra Shekhar <x0044955@ti.com>
Wed, 8 Oct 2008 07:01:39 +0000 (10:01 +0300)
committerTony Lindgren <tony@atomide.com>
Wed, 8 Oct 2008 07:01:39 +0000 (10:01 +0300)
commitb4b58f5834a023dab67201db9a626bef07bb200c
tree721917a3f675ba7f55ce6d8df0fef9f0a6ed88a5
parent25cef2251415cef5438e20965fec87096fe2efb0
ARM: OMAP: Allocate McBSP devices dynamically

Based on Chandra's earlier patches in linux-omap tree.

Note that omap1_mcbsp_check and omap2_mcbsp_check are no longer
needed as there's now omap_mcbsp_check_valid_id() defined.

Also some functions can now be marked __init.

Signed-off-by: Chandra Shekhar <x0044955@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap1/mcbsp.c
arch/arm/mach-omap2/mcbsp.c
arch/arm/plat-omap/include/mach/mcbsp.h
arch/arm/plat-omap/mcbsp.c