diff options
author | Bernhard Beschow | 2022-10-03 22:31:34 +0200 |
---|---|---|
committer | Daniel Henrique Barboza | 2022-10-17 21:15:09 +0200 |
commit | 35ad5b7492cae5da86f652e8a32ba23bbd14eaa3 (patch) | |
tree | 56a07b9341ed1a146f45f8272bd72d591896fdbb /hw/ppc/mpc8544ds.c | |
parent | hw/ppc/e500: Reduce usage of sysbus API (diff) | |
download | qemu-35ad5b7492cae5da86f652e8a32ba23bbd14eaa3.tar.gz qemu-35ad5b7492cae5da86f652e8a32ba23bbd14eaa3.tar.xz qemu-35ad5b7492cae5da86f652e8a32ba23bbd14eaa3.zip |
hw/ppc/mpc8544ds: Rename wrongly named method
Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20221003203142.24355-6-shentey@gmail.com>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Diffstat (limited to 'hw/ppc/mpc8544ds.c')
-rw-r--r-- | hw/ppc/mpc8544ds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/ppc/mpc8544ds.c b/hw/ppc/mpc8544ds.c index 81177505f0..8e674ad195 100644 --- a/hw/ppc/mpc8544ds.c +++ b/hw/ppc/mpc8544ds.c @@ -36,7 +36,7 @@ static void mpc8544ds_init(MachineState *machine) ppce500_init(machine); } -static void e500plat_machine_class_init(ObjectClass *oc, void *data) +static void mpc8544ds_machine_class_init(ObjectClass *oc, void *data) { MachineClass *mc = MACHINE_CLASS(oc); PPCE500MachineClass *pmc = PPCE500_MACHINE_CLASS(oc); @@ -63,7 +63,7 @@ static void e500plat_machine_class_init(ObjectClass *oc, void *data) static const TypeInfo mpc8544ds_info = { .name = TYPE_MPC8544DS_MACHINE, .parent = TYPE_PPCE500_MACHINE, - .class_init = e500plat_machine_class_init, + .class_init = mpc8544ds_machine_class_init, }; static void mpc8544ds_register_types(void) |