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, 4 insertions, 2 deletions
diff --git a/drivers/i2c/chips/x1205.c b/drivers/i2c/chips/x1205.c
index c5ff2cee15ae..6880eabf1380 100644
--- a/drivers/i2c/chips/x1205.c
+++ b/drivers/i2c/chips/x1205.c
@@ -105,8 +105,10 @@ static int x1205_command(struct i2c_client *client, unsigned int cmd,
105 void *arg); 105 void *arg);
106 106
107static struct i2c_driver x1205_driver = { 107static struct i2c_driver x1205_driver = {
108 .owner = THIS_MODULE, 108 .driver = {
109 .name = "x1205", 109 .owner = THIS_MODULE,
110 .name = "x1205",
111 },
110 .attach_adapter = &x1205_attach, 112 .attach_adapter = &x1205_attach,
111 .detach_client = &x1205_detach, 113 .detach_client = &x1205_detach,
112}; 114};