Add i2c_device_id to tea5761.
Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
.release = video_device_release
};
-static int tea5761_i2c_driver_probe(struct i2c_client *client)
+static int tea5761_i2c_driver_probe(struct i2c_client *client,
+ const struct i2c_device_id *id)
{
struct video_device *video_dev;
int err = 0;
return 0;
}
+static const struct i2c_device_id tea5761_id[] = {
+ { DRIVER_NAME, 0 },
+ { },
+};
+MODULE_DEVICE_TABLE(i2c, tea5761_id);
+
static struct i2c_driver tea5761_driver = {
.driver = {
.name = DRIVER_NAME,