diff options
Diffstat (limited to 'drivers/macintosh/windfarm_smu_sat.c')
-rw-r--r-- | drivers/macintosh/windfarm_smu_sat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/macintosh/windfarm_smu_sat.c b/drivers/macintosh/windfarm_smu_sat.c index 9a6c2cf8fd0e..1043b39aa123 100644 --- a/drivers/macintosh/windfarm_smu_sat.c +++ b/drivers/macintosh/windfarm_smu_sat.c | |||
@@ -380,7 +380,7 @@ static int wf_sat_attach(struct i2c_adapter *adapter) | |||
380 | busnode = pmac_i2c_get_bus_node(bus); | 380 | busnode = pmac_i2c_get_bus_node(bus); |
381 | 381 | ||
382 | while ((dev = of_get_next_child(busnode, dev)) != NULL) | 382 | while ((dev = of_get_next_child(busnode, dev)) != NULL) |
383 | if (device_is_compatible(dev, "smu-sat")) | 383 | if (of_device_is_compatible(dev, "smu-sat")) |
384 | wf_sat_create(adapter, dev); | 384 | wf_sat_create(adapter, dev); |
385 | return 0; | 385 | return 0; |
386 | } | 386 | } |