diff options
Diffstat (limited to 'drivers/i2c/chips/max6875.c')
-rw-r--r-- | drivers/i2c/chips/max6875.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/i2c/chips/max6875.c b/drivers/i2c/chips/max6875.c index 7e61019e72dd..37051173d233 100644 --- a/drivers/i2c/chips/max6875.c +++ b/drivers/i2c/chips/max6875.c | |||
@@ -67,8 +67,10 @@ static int max6875_detach_client(struct i2c_client *client); | |||
67 | 67 | ||
68 | /* This is the driver that will be inserted */ | 68 | /* This is the driver that will be inserted */ |
69 | static struct i2c_driver max6875_driver = { | 69 | static struct i2c_driver max6875_driver = { |
70 | .owner = THIS_MODULE, | 70 | .driver = { |
71 | .name = "max6875", | 71 | .owner = THIS_MODULE, |
72 | .name = "max6875", | ||
73 | }, | ||
72 | .attach_adapter = max6875_attach_adapter, | 74 | .attach_adapter = max6875_attach_adapter, |
73 | .detach_client = max6875_detach_client, | 75 | .detach_client = max6875_detach_client, |
74 | }; | 76 | }; |