diff options
Diffstat (limited to 'drivers/macintosh/windfarm_max6690_sensor.c')
-rw-r--r-- | drivers/macintosh/windfarm_max6690_sensor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/macintosh/windfarm_max6690_sensor.c b/drivers/macintosh/windfarm_max6690_sensor.c index 945a25b2f31e..87e439b10318 100644 --- a/drivers/macintosh/windfarm_max6690_sensor.c +++ b/drivers/macintosh/windfarm_max6690_sensor.c | |||
@@ -95,7 +95,7 @@ static int wf_max6690_probe(struct i2c_client *client, | |||
95 | } | 95 | } |
96 | 96 | ||
97 | max->i2c = client; | 97 | max->i2c = client; |
98 | max->sens.name = (char *)name; /* XXX fix constness in structure */ | 98 | max->sens.name = name; |
99 | max->sens.ops = &wf_max6690_ops; | 99 | max->sens.ops = &wf_max6690_ops; |
100 | i2c_set_clientdata(client, max); | 100 | i2c_set_clientdata(client, max); |
101 | 101 | ||