aboutsummaryrefslogtreecommitdiff
path: root/sim/common/hw-base.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/hw-base.c')
-rw-r--r--sim/common/hw-base.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sim/common/hw-base.c b/sim/common/hw-base.c
index 364dc4d..4fe3bde 100644
--- a/sim/common/hw-base.c
+++ b/sim/common/hw-base.c
@@ -313,7 +313,7 @@ full_name_of_hw (struct hw *leaf,
strcat (buf, hw_name (leaf));
strcat (buf, unit);
}
-
+
/* return it usefully */
if (buf == full_name)
buf = hw_strdup (leaf, full_name);
@@ -362,7 +362,7 @@ hw_create (struct sim_state *sd,
root = root->parent_of_hw;
hw->root_of_hw = root;
}
-
+
/* a unique identifier for the device on the parents bus */
if (parent != NULL)
{
@@ -424,7 +424,7 @@ hw_create (struct sim_state *sd,
create_hw_event_data (hw);
create_hw_handle_data (hw);
create_hw_instance_data (hw);
-
+
return hw;
}
@@ -461,7 +461,7 @@ hw_finish (struct hw *me)
&& hw_find_property (hw_root (me), "global-trace?") != NULL
&& hw_find_boolean_property (hw_root (me), "global-trace?"))
me->trace_of_hw_p = 1;
-
+
/* Allow the real device to override any methods */
me->base_of_hw->descriptor->to_finish (me);