diff options
Diffstat (limited to 'drivers/hwmon/fscpos.c')
-rw-r--r-- | drivers/hwmon/fscpos.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/hwmon/fscpos.c b/drivers/hwmon/fscpos.c index 64e4edc64f8d..6d0146b57020 100644 --- a/drivers/hwmon/fscpos.c +++ b/drivers/hwmon/fscpos.c | |||
@@ -100,10 +100,10 @@ static void reset_fan_alarm(struct i2c_client *client, int nr); | |||
100 | * Driver data (common to all clients) | 100 | * Driver data (common to all clients) |
101 | */ | 101 | */ |
102 | static struct i2c_driver fscpos_driver = { | 102 | static struct i2c_driver fscpos_driver = { |
103 | .owner = THIS_MODULE, | 103 | .driver = { |
104 | .name = "fscpos", | 104 | .name = "fscpos", |
105 | }, | ||
105 | .id = I2C_DRIVERID_FSCPOS, | 106 | .id = I2C_DRIVERID_FSCPOS, |
106 | .flags = I2C_DF_NOTIFY, | ||
107 | .attach_adapter = fscpos_attach_adapter, | 107 | .attach_adapter = fscpos_attach_adapter, |
108 | .detach_client = fscpos_detach_client, | 108 | .detach_client = fscpos_detach_client, |
109 | }; | 109 | }; |