diff options
author | Markus Armbruster <armbru@redhat.com> | 2010-06-01 20:32:29 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2010-06-04 11:43:39 +0200 |
commit | 57234ee40d314f91cf5bd16a926f30a6985e06e2 (patch) | |
tree | 89271b523f0196d0fbdf41d4b75307c30122f8ee /hw/ide/cmd646.c | |
parent | 870111c8ed95df62a101eae0acd08c84233a6341 (diff) | |
download | qemu-57234ee40d314f91cf5bd16a926f30a6985e06e2.zip qemu-57234ee40d314f91cf5bd16a926f30a6985e06e2.tar.gz qemu-57234ee40d314f91cf5bd16a926f30a6985e06e2.tar.bz2 |
ide: Split non-qdev code off ide_init2()
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/ide/cmd646.c')
-rw-r--r-- | hw/ide/cmd646.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/ide/cmd646.c b/hw/ide/cmd646.c index cdcc9bf..559147f 100644 --- a/hw/ide/cmd646.c +++ b/hw/ide/cmd646.c @@ -260,8 +260,8 @@ static int pci_cmd646_ide_initfn(PCIDevice *dev) irq = qemu_allocate_irqs(cmd646_set_irq, d, 2); ide_bus_new(&d->bus[0], &d->dev.qdev); ide_bus_new(&d->bus[1], &d->dev.qdev); - ide_init2(&d->bus[0], NULL, NULL, irq[0]); - ide_init2(&d->bus[1], NULL, NULL, irq[1]); + ide_init2(&d->bus[0], irq[0]); + ide_init2(&d->bus[1], irq[1]); vmstate_register(0, &vmstate_ide_pci, d); qemu_register_reset(cmd646_reset, d); |