aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/chips/x1205.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/i2c/chips/x1205.c')
-rw-r--r--drivers/i2c/chips/x1205.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/i2c/chips/x1205.c b/drivers/i2c/chips/x1205.c
index 7da366cdc18c5..245fffa92dbd4 100644
--- a/drivers/i2c/chips/x1205.c
+++ b/drivers/i2c/chips/x1205.c
@@ -105,9 +105,9 @@ static int x1205_command(struct i2c_client *client, unsigned int cmd,
void *arg);
static struct i2c_driver x1205_driver = {
- .owner = THIS_MODULE,
- .name = "x1205",
- .flags = I2C_DF_NOTIFY,
+ .driver = {
+ .name = "x1205",
+ },
.attach_adapter = &x1205_attach,
.detach_client = &x1205_detach,
};