aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/gl520sm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/gl520sm.c')
-rw-r--r--drivers/hwmon/gl520sm.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/hwmon/gl520sm.c b/drivers/hwmon/gl520sm.c
index b3998165193d..a9a724a6f38a 100644
--- a/drivers/hwmon/gl520sm.c
+++ b/drivers/hwmon/gl520sm.c
@@ -109,8 +109,10 @@ static struct gl520_data *gl520_update_device(struct device *dev);
109 109
110/* Driver data */ 110/* Driver data */
111static struct i2c_driver gl520_driver = { 111static struct i2c_driver gl520_driver = {
112 .owner = THIS_MODULE, 112 .driver = {
113 .name = "gl520sm", 113 .owner = THIS_MODULE,
114 .name = "gl520sm",
115 },
114 .id = I2C_DRIVERID_GL520, 116 .id = I2C_DRIVERID_GL520,
115 .attach_adapter = gl520_attach_adapter, 117 .attach_adapter = gl520_attach_adapter,
116 .detach_client = gl520_detach_client, 118 .detach_client = gl520_detach_client,