summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/ataintf.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/ataintf.h')
-rw-r--r--src/devices/machine/ataintf.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/machine/ataintf.h b/src/devices/machine/ataintf.h
index 202803e70e8..cd11d90180c 100644
--- a/src/devices/machine/ataintf.h
+++ b/src/devices/machine/ataintf.h
@@ -47,13 +47,13 @@ DECLARE_DEVICE_TYPE(ATA_SLOT, ata_slot_device)
***************************************************************************/
#define MCFG_ATA_INTERFACE_IRQ_HANDLER(_devcb) \
- devcb = &downcast<abstract_ata_interface_device &>(*device).set_irq_handler(DEVCB_##_devcb);
+ downcast<abstract_ata_interface_device &>(*device).set_irq_handler(DEVCB_##_devcb);
#define MCFG_ATA_INTERFACE_DMARQ_HANDLER(_devcb) \
- devcb = &downcast<abstract_ata_interface_device &>(*device).set_dmarq_handler(DEVCB_##_devcb);
+ downcast<abstract_ata_interface_device &>(*device).set_dmarq_handler(DEVCB_##_devcb);
#define MCFG_ATA_INTERFACE_DASP_HANDLER(_devcb) \
- devcb = &downcast<abstract_ata_interface_device &>(*device).set_dasp_handler(DEVCB_##_devcb);
+ downcast<abstract_ata_interface_device &>(*device).set_dasp_handler(DEVCB_##_devcb);
void ata_devices(device_slot_interface &device);