#ifdef CONFIG_ARCH_OMAP1510 
#ifdef CONFIG_ARCH_OMAP15XX 
static int __init omap_mcbsp_init(void){	int mcbsp_count = 0, i;	static const struct omap_mcbsp_info *mcbsp_info;	printk("Initializing OMAP McBSP system\n");	mcbsp_dsp_ck = clk_get(0, "dsp_ck");	if (IS_ERR(mcbsp_dsp_ck)) {		printk(KERN_ERR "mcbsp: could not acquire dsp_ck handle.\n");		return PTR_ERR(mcbsp_dsp_ck);	}	mcbsp_api_ck = clk_get(0, "api_ck");	if (IS_ERR(mcbsp_api_ck)) {		printk(KERN_ERR "mcbsp: could not acquire api_ck handle.\n");		return PTR_ERR(mcbsp_api_ck);	}	mcbsp_dspxor_ck = clk_get(0, "dspxor_ck");	if (IS_ERR(mcbsp_dspxor_ck)) {		printk(KERN_ERR "mcbsp: could not acquire dspxor_ck handle.\n");		return PTR_ERR(mcbsp_dspxor_ck);	}#ifdef CONFIG_ARCH_OMAP730	if (cpu_is_omap730()) {		mcbsp_info = mcbsp_730;		mcbsp_count = ARRAY_SIZE(mcbsp_730);	}#endif#ifdef CONFIG_ARCH_OMAP1510	if (cpu_is_omap1510()) {		mcbsp_info = mcbsp_1510;		mcbsp_count = ARRAY_SIZE(mcbsp_1510);	}#endif#if defined(CONFIG_ARCH_OMAP16XX)	if (cpu_is_omap16xx()) {		mcbsp_info = mcbsp_1610;		mcbsp_count = ARRAY_SIZE(mcbsp_1610);	}#endif	for (i = 0; i < OMAP_MAX_MCBSP_COUNT ; i++) {		if (i >= mcbsp_count) {			mcbsp[i].io_base = 0;			mcbsp[i].free = 0;                        continue;		}		mcbsp[i].id = i + 1;		mcbsp[i].free = 1;		mcbsp[i].dma_tx_lch = -1;		mcbsp[i].dma_rx_lch = -1;		mcbsp[i].io_base = mcbsp_info[i].virt_base;		mcbsp[i].tx_irq = mcbsp_info[i].tx_irq;		mcbsp[i].rx_irq = mcbsp_info[i].rx_irq;		mcbsp[i].dma_rx_sync = mcbsp_info[i].dma_rx_sync;		mcbsp[i].dma_tx_sync = mcbsp_info[i].dma_tx_sync;		spin_lock_init(&mcbsp[i].lock);	}	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/1a8bfa1eb998af6e650ad26201f7cae9f2a2fdc8/mcbsp.c/clean/arch/arm/plat-omap/mcbsp.c