aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/indycam.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/indycam.c')
-rw-r--r--drivers/media/video/indycam.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/media/video/indycam.c b/drivers/media/video/indycam.c
index 3eba514cdb29..96a808e8b2ca 100644
--- a/drivers/media/video/indycam.c
+++ b/drivers/media/video/indycam.c
@@ -451,8 +451,10 @@ static int indycam_command(struct i2c_client *client, unsigned int cmd,
451} 451}
452 452
453static struct i2c_driver i2c_driver_indycam = { 453static struct i2c_driver i2c_driver_indycam = {
454 .owner = THIS_MODULE, 454 .driver = {
455 .name = "indycam", 455 .owner = THIS_MODULE,
456 .name = "indycam",
457 },
456 .id = I2C_DRIVERID_INDYCAM, 458 .id = I2C_DRIVERID_INDYCAM,
457 .attach_adapter = indycam_probe, 459 .attach_adapter = indycam_probe,
458 .detach_client = indycam_detach, 460 .detach_client = indycam_detach,