Fix typos: Setting trace in wrong function, ME vs HW.
This commit is contained in:
parent
775b309a4e
commit
b2846e630d
|
@ -1,5 +1,8 @@
|
|||
Sun Mar 22 16:45:54 1998 Andrew Cagney <cagney@b1.cygnus.com>
|
||||
|
||||
* hw-base.c (hw_finish): Move setting of trace level to here.
|
||||
(hw_create): From here.
|
||||
|
||||
* hw-base.h, hw-base.c (do_hw_attach_regs): Copy function from
|
||||
../ppc/device_table.c.
|
||||
|
||||
|
|
|
@ -475,8 +475,8 @@ hw_finish (struct hw *me)
|
|||
me->nr_size_cells_of_hw_unit = 1;
|
||||
|
||||
/* Fill in the (hopefully) defined trace variable */
|
||||
if (hw_find_property (hw, "trace?") != NULL)
|
||||
hw->trace_of_hw_p = hw_find_boolean_property (hw, "trace?");
|
||||
if (hw_find_property (me, "trace?") != NULL)
|
||||
me->trace_of_hw_p = hw_find_boolean_property (me, "trace?");
|
||||
|
||||
/* Allow the real device to override any methods */
|
||||
me->base_of_hw->descriptor->to_finish (me);
|
||||
|
|
Loading…
Reference in New Issue