aboutsummaryrefslogtreecommitdiff
path: root/hw/arm/gumstix.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/arm/gumstix.c')
-rw-r--r--hw/arm/gumstix.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/arm/gumstix.c b/hw/arm/gumstix.c
index aeea172..3f8465e 100644
--- a/hw/arm/gumstix.c
+++ b/hw/arm/gumstix.c
@@ -46,7 +46,7 @@
static const int sector_len = 128 * 1024;
-static void connex_init(QEMUMachineInitArgs *args)
+static void connex_init(MachineState *machine)
{
PXA2xxState *cpu;
DriveInfo *dinfo;
@@ -83,9 +83,9 @@ static void connex_init(QEMUMachineInitArgs *args)
qdev_get_gpio_in(cpu->gpio, 36));
}
-static void verdex_init(QEMUMachineInitArgs *args)
+static void verdex_init(MachineState *machine)
{
- const char *cpu_model = args->cpu_model;
+ const char *cpu_model = machine->cpu_model;
PXA2xxState *cpu;
DriveInfo *dinfo;
int be;