aboutsummaryrefslogtreecommitdiffstats
path: root/hw/palm.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/palm.c')
-rw-r--r--hw/palm.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/hw/palm.c b/hw/palm.c
index fb8e38041..e9be05821 100644
--- a/hw/palm.c
+++ b/hw/palm.c
@@ -275,8 +275,15 @@ static void palmte_init(ram_addr_t ram_size,
dpy_resize(ds);
}
-QEMUMachine palmte_machine = {
+static QEMUMachine palmte_machine = {
.name = "cheetah",
.desc = "Palm Tungsten|E aka. Cheetah PDA (OMAP310)",
.init = palmte_init,
};
+
+static void palmte_machine_init(void)
+{
+ qemu_register_machine(&palmte_machine);
+}
+
+machine_init(palmte_machine_init);