diff options
Diffstat (limited to 'arch/arm/mach-omap1')
-rw-r--r-- | arch/arm/mach-omap1/mcbsp.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/arm/mach-omap1/mcbsp.c b/arch/arm/mach-omap1/mcbsp.c index fe11e135730c..3e8410a99990 100644 --- a/arch/arm/mach-omap1/mcbsp.c +++ b/arch/arm/mach-omap1/mcbsp.c | |||
@@ -420,18 +420,6 @@ static int __init omap1_mcbsp_init(void) | |||
420 | return -ENODEV; | 420 | return -ENODEV; |
421 | 421 | ||
422 | if (cpu_is_omap7xx()) | 422 | if (cpu_is_omap7xx()) |
423 | omap_mcbsp_count = OMAP7XX_MCBSP_COUNT; | ||
424 | else if (cpu_is_omap15xx()) | ||
425 | omap_mcbsp_count = OMAP15XX_MCBSP_COUNT; | ||
426 | else if (cpu_is_omap16xx()) | ||
427 | omap_mcbsp_count = OMAP16XX_MCBSP_COUNT; | ||
428 | |||
429 | mcbsp_ptr = kzalloc(omap_mcbsp_count * sizeof(struct omap_mcbsp *), | ||
430 | GFP_KERNEL); | ||
431 | if (!mcbsp_ptr) | ||
432 | return -ENOMEM; | ||
433 | |||
434 | if (cpu_is_omap7xx()) | ||
435 | omap_mcbsp_register_board_cfg(omap7xx_mcbsp_res_0, | 423 | omap_mcbsp_register_board_cfg(omap7xx_mcbsp_res_0, |
436 | OMAP7XX_MCBSP_RES_SZ, | 424 | OMAP7XX_MCBSP_RES_SZ, |
437 | omap7xx_mcbsp_pdata, | 425 | omap7xx_mcbsp_pdata, |