/* Enable the main functional clock and interface clock for all of the omap_hwmods associated with the omap_device. Returns 0.  */
int omap_device_enable_clocks(struct omap_device *od)
/* Enable the main functional clock and interface clock for all of the omap_hwmods associated with the omap_device. Returns 0.  */
int omap_device_enable_clocks(struct omap_device *od)
{
	struct omap_hwmod *oh;
	int i;
	for (i = 0, oh = *od->hwmods; i < od->hwmods_cnt; i++, oh++)
		omap_hwmod_enable_clocks(oh);
	return 0;
}