On Wednesday, December 01, 2010 08:12:45 Kim, HeungJun wrote: > Hello Hans and everyone, > > The I2C V4L2 driver(sensor or lens motor controll chip or whatever) can be registerd with 2 method, I know. > > 1) using v4l2_i2c_data structure defined in the v4l2-i2c-drv.h > 2) not using v4l2_i2c_data, just use i2c_add_driver() like registering method regular i2c driver. Use 2. In fact, the v4l2-i2c-drv.h header has recently been removed, so you don't have much choice anyway :-) > > But, I don't know the precise difference between upper 2 method. > Maybe, I think that there is the clear reason as Hans made it. > What's the reason?? v4l2-i2c-drv.h was made to make it easier to compile v4l for old pre-2.6.26 kernels. This is no longer relevant these days and the header was recently removed completely and all drivers converted to use the normal i2c_add_driver. Regards, Hans > > If there is any ideas, let me know, plz. > > Thanks. > > Regards, > HeungJun > -- Hans Verkuil - video4linux developer - sponsored by Cisco -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html