> > I got it working by changing the name as below. > > static struct i2c_board_info __initdata ds1307_i2c_board_info[] = { > { > .type = "ds1307", > .addr = 0x68, > }, > }; >
> > The bit that got this working was the change of the name to ds1307 instead > of rtc-ds1307 which was the name of the driver. Once I did this, the code > to probe the driver was called and the device was initialised. > > Just thought I'd leave it here for others searching for something similar. > -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.