Petr Cvek <petr.cvek@xxxxxx> writes: > @@ -873,10 +875,39 @@ static struct platform_device strataflash = { > */ > > static struct i2c_pxa_platform_data i2c_info = { > - .fast_mode = 1, > + .fast_mode = 0, /* fast mode seems to be have bit errors */ > + .use_pio = 0, /* no polling */ This deserves a better commit message : why the switch out of fast_mode, what was not working, etc ... > +/* > + * GPIO I2C normal controller (alternative) > + */ > + > +static struct i2c_gpio_platform_data rtc_device_data = { > + .sda_pin = GPIO118_MAGICIAN_I2C_SDA, > + .scl_pin = GPIO117_MAGICIAN_I2C_SCL, > + .udelay = 100 > +}; > + > +static struct platform_device i2c_gpio_bus_alt = { > + .name = "i2c-gpio", > + .id = 0, > + .dev = { > + .platform_data = &rtc_device_data, rtc_device_data, really ? Can you add __initdata, I think i2c-gpio copies the data and doesn't use it anymore after ? Cheers. -- Robert -- To unsubscribe from this list: send the line "unsubscribe linux-leds" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html