mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-30 11:10:33 -07:00
fdc: Open-code fdctrl_init_isa()
Helper function fdctrl_init_isa() is less than helpful: one of three places creating "isa-fdc" devices use it. Open-code it there, and drop the function. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20200622094227.1271650-6-armbru@redhat.com>
This commit is contained in:
parent
6172e067a4
commit
fed2c1731c
3 changed files with 6 additions and 17 deletions
|
|
@ -10,7 +10,6 @@
|
|||
#define TYPE_ISA_FDC "isa-fdc"
|
||||
|
||||
void isa_fdc_init_drives(ISADevice *fdc, DriveInfo **fds);
|
||||
ISADevice *fdctrl_init_isa(ISABus *bus, DriveInfo **fds);
|
||||
void fdctrl_init_sysbus(qemu_irq irq, int dma_chann,
|
||||
hwaddr mmio_base, DriveInfo **fds);
|
||||
void sun4m_fdctrl_init(qemu_irq irq, hwaddr io_base,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue