aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/i2c-dev.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/i2c/i2c-dev.c')
-rw-r--r--drivers/i2c/i2c-dev.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/i2c/i2c-dev.c b/drivers/i2c/i2c-dev.c
index 9da51eb37c06..9715217a0343 100644
--- a/drivers/i2c/i2c-dev.c
+++ b/drivers/i2c/i2c-dev.c
@@ -481,8 +481,10 @@ static int i2cdev_command(struct i2c_client *client, unsigned int cmd,
481} 481}
482 482
483static struct i2c_driver i2cdev_driver = { 483static struct i2c_driver i2cdev_driver = {
484 .owner = THIS_MODULE, 484 .driver = {
485 .name = "dev_driver", 485 .owner = THIS_MODULE,
486 .name = "dev_driver",
487 },
486 .id = I2C_DRIVERID_I2CDEV, 488 .id = I2C_DRIVERID_I2CDEV,
487 .attach_adapter = i2cdev_attach_adapter, 489 .attach_adapter = i2cdev_attach_adapter,
488 .detach_adapter = i2cdev_detach_adapter, 490 .detach_adapter = i2cdev_detach_adapter,