diff options
Diffstat (limited to 'drivers/hwmon/lm63.c')
-rw-r--r-- | drivers/hwmon/lm63.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/hwmon/lm63.c b/drivers/hwmon/lm63.c index c2dd4ac8042d..35baae742cff 100644 --- a/drivers/hwmon/lm63.c +++ b/drivers/hwmon/lm63.c | |||
@@ -139,8 +139,10 @@ static void lm63_init_client(struct i2c_client *client); | |||
139 | */ | 139 | */ |
140 | 140 | ||
141 | static struct i2c_driver lm63_driver = { | 141 | static struct i2c_driver lm63_driver = { |
142 | .owner = THIS_MODULE, | 142 | .driver = { |
143 | .name = "lm63", | 143 | .owner = THIS_MODULE, |
144 | .name = "lm63", | ||
145 | }, | ||
144 | .attach_adapter = lm63_attach_adapter, | 146 | .attach_adapter = lm63_attach_adapter, |
145 | .detach_client = lm63_detach_client, | 147 | .detach_client = lm63_detach_client, |
146 | }; | 148 | }; |