On Fri, Sep 25, 2009 at 2:45 PM, Jean Delvare <[email protected]> wrote: > On Fri, 25 Sep 2009 14:38:39 -0400, Jon Ringle wrote: >> I think the problem is that rtc-m41t80 does not provide either of the >> following: >> struct i2c_driver: detect and address_data (both are null) >> as required by i2c_detect() > > This should be OK. detect and address_data are optional and only needed > for drivers which autodetect their devices. The rtc-m41t80 probably > doesn't want to do this. The device should be declared by the arch or > platform.
Can you point me to an example of how one declares a i2c device? Thanks, Jon -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
