/* Register busses defined in command line but that are not registered with omap_register_i2c_bus from board initialization code.  */
static int __init omap_register_i2c_bus_cmdline(void)
/* Register busses defined in command line but that are not registered with omap_register_i2c_bus from board initialization code.  */
static int __init omap_register_i2c_bus_cmdline(void)
{
	int i, err = 0;
	for (i = 0; i < ARRAY_SIZE(i2c_rate); i++)
		if (i2c_rate[i] & OMAP_I2C_CMDLINE_SETUP) {
			i2c_rate[i] &= ~OMAP_I2C_CMDLINE_SETUP;
			err = omap_i2c_add_bus(i + 1);
			if (err)
				goto out;
		}
out:
	return err;
}