aboutsummaryrefslogtreecommitdiff
path: root/include/hw/boards.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/boards.h')
-rw-r--r--include/hw/boards.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/boards.h b/include/hw/boards.h
index 4b3fdbea9d..8efce0f91e 100644
--- a/include/hw/boards.h
+++ b/include/hw/boards.h
@@ -181,7 +181,7 @@ struct MachineState {
{ \
type_register_static(&machine_initfn##_typeinfo); \
} \
- machine_init(machine_initfn##_register_types)
+ type_init(machine_initfn##_register_types)
#define SET_MACHINE_COMPAT(m, COMPAT) \
do { \