diff options
| author | David Woodhouse <dwmw@amazon.co.uk> | 2023-10-23 09:37:35 +0100 |
|---|---|---|
| committer | David Woodhouse <dwmw@amazon.co.uk> | 2024-02-02 16:23:47 +0000 |
| commit | cd53991de40a90399a8b56f0ad7b9320442ea5bb (patch) | |
| tree | dc3c2f27d3a2b85da77ce357999b8fa086328b82 /include | |
| parent | 8cef839c2d2f3fc2430570fd040104e3ed61dcf8 (diff) | |
| download | focaccia-qemu-cd53991de40a90399a8b56f0ad7b9320442ea5bb.tar.gz focaccia-qemu-cd53991de40a90399a8b56f0ad7b9320442ea5bb.zip | |
hw/net/smc91c111: use qemu_configure_nic_device()
Some callers instantiate the device unconditionally, others will do so only if there is a NICInfo to go with it. This appears to be fairly random, but preserve the existing behaviour of each caller for now. Signed-off-by: David Woodhouse <dwmw@amazon.co.uk> Reviewed-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/hw/net/smc91c111.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/net/smc91c111.h b/include/hw/net/smc91c111.h index df5b11dcef..dba32a233f 100644 --- a/include/hw/net/smc91c111.h +++ b/include/hw/net/smc91c111.h @@ -13,6 +13,6 @@ #include "net/net.h" -void smc91c111_init(NICInfo *, uint32_t, qemu_irq); +void smc91c111_init(uint32_t, qemu_irq); #endif |