summaryrefslogtreecommitdiffstats
path: root/src/devices/machine/cdp1852.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/cdp1852.h')
-rw-r--r--src/devices/machine/cdp1852.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/machine/cdp1852.h b/src/devices/machine/cdp1852.h
index 70562f85e7e..ed22bfccaff 100644
--- a/src/devices/machine/cdp1852.h
+++ b/src/devices/machine/cdp1852.h
@@ -34,16 +34,16 @@
//**************************************************************************
#define MCFG_CDP1852_MODE_CALLBACK(_read) \
- devcb = &downcast<cdp1852_device &>(*device).set_mode_rd_callback(DEVCB_##_read);
+ downcast<cdp1852_device &>(*device).set_mode_rd_callback(DEVCB_##_read);
#define MCFG_CDP1852_SR_CALLBACK(_write) \
- devcb = &downcast<cdp1852_device &>(*device).set_sr_wr_callback(DEVCB_##_write);
+ downcast<cdp1852_device &>(*device).set_sr_wr_callback(DEVCB_##_write);
#define MCFG_CDP1852_DI_CALLBACK(_read) \
- devcb = &downcast<cdp1852_device &>(*device).set_data_rd_callback(DEVCB_##_read);
+ downcast<cdp1852_device &>(*device).set_data_rd_callback(DEVCB_##_read);
#define MCFG_CDP1852_DO_CALLBACK(_write) \
- devcb = &downcast<cdp1852_device &>(*device).set_data_wr_callback(DEVCB_##_write);
+ downcast<cdp1852_device &>(*device).set_data_wr_callback(DEVCB_##_write);