diff options
Diffstat (limited to 'drivers/macintosh/windfarm_lm75_sensor.c')
-rw-r--r-- | drivers/macintosh/windfarm_lm75_sensor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/macintosh/windfarm_lm75_sensor.c b/drivers/macintosh/windfarm_lm75_sensor.c index 9ef32b3df91f..590214ba736c 100644 --- a/drivers/macintosh/windfarm_lm75_sensor.c +++ b/drivers/macintosh/windfarm_lm75_sensor.c | |||
@@ -133,7 +133,7 @@ static int wf_lm75_probe(struct i2c_client *client, | |||
133 | lm->inited = 0; | 133 | lm->inited = 0; |
134 | lm->ds1775 = ds1775; | 134 | lm->ds1775 = ds1775; |
135 | lm->i2c = client; | 135 | lm->i2c = client; |
136 | lm->sens.name = (char *)name; /* XXX fix constness in structure */ | 136 | lm->sens.name = name; |
137 | lm->sens.ops = &wf_lm75_ops; | 137 | lm->sens.ops = &wf_lm75_ops; |
138 | i2c_set_clientdata(client, lm); | 138 | i2c_set_clientdata(client, lm); |
139 | 139 | ||