diff options
author | Bernhard Beschow <shentey@gmail.com> | 2022-02-17 11:19:24 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2022-03-08 19:38:13 +0100 |
commit | aa85a461efd5dc2b44102228db373dc77df826d7 (patch) | |
tree | 53462a9fb0936f44c1f1c5edb073b41ab918d447 /include | |
parent | 0e75526e4d7850d33feae69c21f503d795420e2d (diff) | |
download | qemu-aa85a461efd5dc2b44102228db373dc77df826d7.zip qemu-aa85a461efd5dc2b44102228db373dc77df826d7.tar.gz qemu-aa85a461efd5dc2b44102228db373dc77df826d7.tar.bz2 |
hw/mips/gt64xxx_pci: Resolve gt64120_register()
Now that gt64120_register() lost its pic parameter, there is an
opportunity to remove it. gt64120_register() is old style by wrapping
qdev API, and the new style is to use qdev directly. So take the
opportunity and modernize the code.
Suggested-by: BALATON Zoltan <balaton@eik.bme.hu>
Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: BALATON Zoltan <balaton@eik.bme.hu>
Message-Id: <20220217101924.15347-8-shentey@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/mips/mips.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/hw/mips/mips.h b/include/hw/mips/mips.h index ff88942..101799f 100644 --- a/include/hw/mips/mips.h +++ b/include/hw/mips/mips.h @@ -9,9 +9,6 @@ #include "exec/memory.h" -/* gt64xxx.c */ -PCIBus *gt64120_register(void); - /* bonito.c */ PCIBus *bonito_init(qemu_irq *pic); |