diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-06-22 22:12:03 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-06-24 02:15:28 -0400 |
commit | 690c8fd31f1e35985d0f35772fde514da59ec9d1 (patch) | |
tree | 8a5a0036b3780a9eb315ea2201a2562570de1ebe /drivers/sbus/char/bbc_envctrl.c | |
parent | de8d28b16f5614aeb12bb69c8f9a38578b8d3ada (diff) |
[SPARC64]: Use in-kernel PROM tree for EBUS and ISA.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/sbus/char/bbc_envctrl.c')
-rw-r--r-- | drivers/sbus/char/bbc_envctrl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/sbus/char/bbc_envctrl.c b/drivers/sbus/char/bbc_envctrl.c index d89f83f769f5..1cc706e11119 100644 --- a/drivers/sbus/char/bbc_envctrl.c +++ b/drivers/sbus/char/bbc_envctrl.c | |||
@@ -575,9 +575,9 @@ int bbc_envctrl_init(void) | |||
575 | int devidx = 0; | 575 | int devidx = 0; |
576 | 576 | ||
577 | while ((echild = bbc_i2c_getdev(devidx++)) != NULL) { | 577 | while ((echild = bbc_i2c_getdev(devidx++)) != NULL) { |
578 | if (!strcmp(echild->prom_name, "temperature")) | 578 | if (!strcmp(echild->prom_node->name, "temperature")) |
579 | attach_one_temp(echild, temp_index++); | 579 | attach_one_temp(echild, temp_index++); |
580 | if (!strcmp(echild->prom_name, "fan-control")) | 580 | if (!strcmp(echild->prom_node->name, "fan-control")) |
581 | attach_one_fan(echild, fan_index++); | 581 | attach_one_fan(echild, fan_index++); |
582 | } | 582 | } |
583 | if (temp_index != 0 && fan_index != 0) { | 583 | if (temp_index != 0 && fan_index != 0) { |