summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/voyager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/voyager.cpp')
-rw-r--r--src/mame/drivers/voyager.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mame/drivers/voyager.cpp b/src/mame/drivers/voyager.cpp
index 258c4199fe9..7e1dbcd6414 100644
--- a/src/mame/drivers/voyager.cpp
+++ b/src/mame/drivers/voyager.cpp
@@ -515,10 +515,8 @@ void voyager_state::voyager(machine_config &config)
ide.irq_handler().set("pic8259_2", FUNC(pic8259_device::ir6_w));
pci_bus_legacy_device &pcibus(PCI_BUS_LEGACY(config, "pcibus", 0, 0));
- pcibus.set_device_read (0, FUNC(voyager_state::intel82439tx_pci_r), this);
- pcibus.set_device_write(0, FUNC(voyager_state::intel82439tx_pci_w), this);
- pcibus.set_device_read (7, FUNC(voyager_state::intel82371ab_pci_r), this);
- pcibus.set_device_write(7, FUNC(voyager_state::intel82371ab_pci_w), this);
+ pcibus.set_device(0, FUNC(voyager_state::intel82439tx_pci_r), FUNC(voyager_state::intel82439tx_pci_w));
+ pcibus.set_device(7, FUNC(voyager_state::intel82371ab_pci_r), FUNC(voyager_state::intel82371ab_pci_w));
/* video hardware */
pcvideo_trident_vga(config);