summaryrefslogtreecommitdiff
path: root/hw/spitz.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/spitz.c')
-rw-r--r--hw/spitz.c16
1 files changed, 13 insertions, 3 deletions
diff --git a/hw/spitz.c b/hw/spitz.c
index c902006fc7..dd167806c2 100644
--- a/hw/spitz.c
+++ b/hw/spitz.c
@@ -1050,24 +1050,34 @@ QEMUMachine akitapda_machine = {
.init = akita_init,
};
-QEMUMachine spitzpda_machine = {
+static QEMUMachine spitzpda_machine = {
.name = "spitz",
.desc = "Spitz PDA (PXA270)",
.init = spitz_init,
};
-QEMUMachine borzoipda_machine = {
+static QEMUMachine borzoipda_machine = {
.name = "borzoi",
.desc = "Borzoi PDA (PXA270)",
.init = borzoi_init,
};
-QEMUMachine terrierpda_machine = {
+static QEMUMachine terrierpda_machine = {
.name = "terrier",
.desc = "Terrier PDA (PXA270)",
.init = terrier_init,
};
+static void spitz_machine_init(void)
+{
+ qemu_register_machine(&akitapda_machine);
+ qemu_register_machine(&spitzpda_machine);
+ qemu_register_machine(&borzoipda_machine);
+ qemu_register_machine(&terrierpda_machine);
+}
+
+machine_init(spitz_machine_init);
+
static SSISlaveInfo corgi_ssp_info = {
.init = corgi_ssp_init,
.transfer = corgi_ssp_transfer