diff options
Diffstat (limited to 'drivers/hwmon/gl520sm.c')
-rw-r--r-- | drivers/hwmon/gl520sm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/hwmon/gl520sm.c b/drivers/hwmon/gl520sm.c index c39ba1239426..baee60e44b52 100644 --- a/drivers/hwmon/gl520sm.c +++ b/drivers/hwmon/gl520sm.c | |||
@@ -109,10 +109,10 @@ static struct gl520_data *gl520_update_device(struct device *dev); | |||
109 | 109 | ||
110 | /* Driver data */ | 110 | /* Driver data */ |
111 | static struct i2c_driver gl520_driver = { | 111 | static struct i2c_driver gl520_driver = { |
112 | .owner = THIS_MODULE, | 112 | .driver = { |
113 | .name = "gl520sm", | 113 | .name = "gl520sm", |
114 | }, | ||
114 | .id = I2C_DRIVERID_GL520, | 115 | .id = I2C_DRIVERID_GL520, |
115 | .flags = I2C_DF_NOTIFY, | ||
116 | .attach_adapter = gl520_attach_adapter, | 116 | .attach_adapter = gl520_attach_adapter, |
117 | .detach_client = gl520_detach_client, | 117 | .detach_client = gl520_detach_client, |
118 | }; | 118 | }; |