diff options
Diffstat (limited to 'hw/lsi53c895a.c')
-rw-r--r-- | hw/lsi53c895a.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/hw/lsi53c895a.c b/hw/lsi53c895a.c index 71f8281165..516a46842e 100644 --- a/hw/lsi53c895a.c +++ b/hw/lsi53c895a.c @@ -2035,9 +2035,15 @@ static void lsi_scsi_init(PCIDevice *dev) scsi_bus_new(&dev->qdev, lsi_scsi_attach); } +static PCIDeviceInfo lsi_info = { + .qdev.name = "lsi53c895a", + .qdev.size = sizeof(LSIState), + .init = lsi_scsi_init, +}; + static void lsi53c895a_register_devices(void) { - pci_qdev_register("lsi53c895a", sizeof(LSIState), lsi_scsi_init); + pci_qdev_register(&lsi_info); } device_init(lsi53c895a_register_devices); |