Commit f0be8e0e authored by Daniel Petrini's avatar Daniel Petrini Committed by Tony Lindgren

[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.
parent 743daad9
...@@ -135,10 +135,16 @@ static struct platform_device osk5912_cf_device = { ...@@ -135,10 +135,16 @@ static struct platform_device osk5912_cf_device = {
.resource = osk5912_cf_resources, .resource = osk5912_cf_resources,
}; };
static struct platform_device osk5912_mcbsp1_device = {
.name = "omap_mcbsp",
.id = 1,
};
static struct platform_device *osk5912_devices[] __initdata = { static struct platform_device *osk5912_devices[] __initdata = {
&osk5912_flash_device, &osk5912_flash_device,
&osk5912_smc91x_device, &osk5912_smc91x_device,
&osk5912_cf_device, &osk5912_cf_device,
&osk5912_mcbsp1_device,
}; };
static void __init osk_init_smc91x(void) static void __init osk_init_smc91x(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment