summaryrefslogtreecommitdiff
path: root/drivers/media/video/ovcamchip/ovcamchip_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/ovcamchip/ovcamchip_core.c')
-rw-r--r--drivers/media/video/ovcamchip/ovcamchip_core.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/media/video/ovcamchip/ovcamchip_core.c b/drivers/media/video/ovcamchip/ovcamchip_core.c
index 390d0d6c7838..9ac398b2d915 100644
--- a/drivers/media/video/ovcamchip/ovcamchip_core.c
+++ b/drivers/media/video/ovcamchip/ovcamchip_core.c
@@ -410,8 +410,10 @@ static int ovcamchip_command(struct i2c_client *c, unsigned int cmd, void *arg)
/* ----------------------------------------------------------------------- */
static struct i2c_driver driver = {
- .owner = THIS_MODULE,
- .name = "ovcamchip",
+ .driver = {
+ .owner = THIS_MODULE,
+ .name = "ovcamchip",
+ },
.id = I2C_DRIVERID_OVCAMCHIP,
.class = I2C_CLASS_CAM_DIGITAL,
.attach_adapter = ovcamchip_attach,