summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tda9875.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/tda9875.c')
-rw-r--r--drivers/media/video/tda9875.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/media/video/tda9875.c b/drivers/media/video/tda9875.c
index d053b6445502..de896167029e 100644
--- a/drivers/media/video/tda9875.c
+++ b/drivers/media/video/tda9875.c
@@ -372,8 +372,10 @@ static int tda9875_command(struct i2c_client *client,
static struct i2c_driver driver = {
- .owner = THIS_MODULE,
- .name = "i2c tda9875 driver",
+ .driver = {
+ .owner = THIS_MODULE,
+ .name = "i2c tda9875 driver",
+ },
.id = I2C_DRIVERID_TDA9875,
.attach_adapter = tda9875_probe,
.detach_client = tda9875_detach,
OpenPOWER on IntegriCloud