summaryrefslogtreecommitdiff
path: root/drivers/media/video/tda9840.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/tda9840.c')
-rw-r--r--drivers/media/video/tda9840.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/media/video/tda9840.c b/drivers/media/video/tda9840.c
index f29fb50..8efc726 100644
--- a/drivers/media/video/tda9840.c
+++ b/drivers/media/video/tda9840.c
@@ -221,8 +221,10 @@ static int detach(struct i2c_client *client)
}
static struct i2c_driver driver = {
- .owner = THIS_MODULE,
- .name = "tda9840",
+ .driver = {
+ .owner = THIS_MODULE,
+ .name = "tda9840",
+ },
.id = I2C_DRIVERID_TDA9840,
.attach_adapter = attach,
.detach_client = detach,