From f0be8e0e5ec65eee0d6390dfe68fb89391edfb8f Mon Sep 17 00:00:00 2001 From: Daniel Petrini Date: Mon, 5 Sep 2005 10:50:42 +0300 Subject: [PATCH] [PATCH] ARM: OMAP: Minimal driver model support for mcbsp1 for osk platform This patch adds minimal platform_device support for mcbsp1 in osk board. It will be used for alsa driver which comes next. --- arch/arm/mach-omap1/board-osk.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/mach-omap1/board-osk.c b/arch/arm/mach-omap1/board-osk.c index 5151dcd0339..21103df5041 100644 --- a/arch/arm/mach-omap1/board-osk.c +++ b/arch/arm/mach-omap1/board-osk.c @@ -135,10 +135,16 @@ static struct platform_device osk5912_cf_device = { .resource = osk5912_cf_resources, }; +static struct platform_device osk5912_mcbsp1_device = { + .name = "omap_mcbsp", + .id = 1, +}; + static struct platform_device *osk5912_devices[] __initdata = { &osk5912_flash_device, &osk5912_smc91x_device, &osk5912_cf_device, + &osk5912_mcbsp1_device, }; static void __init osk_init_smc91x(void) -- 2.41.1