Searched refs:new_mcbsp (Results 1 – 1 of 1) sorted by relevance
305 struct platform_device *new_mcbsp; in omap_mcbsp_register_board_cfg() local308 new_mcbsp = platform_device_alloc("omap-mcbsp", i + 1); in omap_mcbsp_register_board_cfg()309 if (!new_mcbsp) in omap_mcbsp_register_board_cfg()311 platform_device_add_resources(new_mcbsp, &res[i * res_count], in omap_mcbsp_register_board_cfg()315 new_mcbsp->dev.platform_data = &config[i]; in omap_mcbsp_register_board_cfg()316 ret = platform_device_add(new_mcbsp); in omap_mcbsp_register_board_cfg()318 platform_device_put(new_mcbsp); in omap_mcbsp_register_board_cfg()321 omap_mcbsp_devices[i] = new_mcbsp; in omap_mcbsp_register_board_cfg()