/* Write @v into the module OCP_SYSCONFIG register, if it has one. No return value.  */
static void _write_sysconfig(u32 v, struct omap_hwmod *oh)
/* Write @v into the module OCP_SYSCONFIG register, if it has one. No return value.  */
static void _write_sysconfig(u32 v, struct omap_hwmod *oh)
{
	if (!oh->sysconfig) {
		WARN(!oh->sysconfig, "omap_hwmod: %s: cannot write "
		     "OCP_SYSCONFIG: not defined on hwmod\n", oh->name);
		return;
	}
	if (oh->_sysc_cache != v) {
		oh->_sysc_cache = v;
		omap_hwmod_writel(v, oh, oh->sysconfig->sysc_offs);
	}
}