summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/adc1213x.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/adc1213x.cpp')
-rw-r--r--src/devices/machine/adc1213x.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/devices/machine/adc1213x.cpp b/src/devices/machine/adc1213x.cpp
index 1931498f58c..2f73575909c 100644
--- a/src/devices/machine/adc1213x.cpp
+++ b/src/devices/machine/adc1213x.cpp
@@ -57,6 +57,7 @@ adc12138_device::adc12138_device(const machine_config &mconfig, const char *tag,
}
adc12138_device::adc12138_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock)
: device_t(mconfig, type, tag, owner, clock)
+ , m_ipt_read_cb(*this)
{
}
@@ -76,7 +77,7 @@ void adc12138_device::device_start()
m_end_conv = 0;
/* resolve callbacks */
- m_ipt_read_cb.bind_relative_to(*owner());
+ m_ipt_read_cb.resolve();
/* register for state saving */
save_item(NAME(m_cycle));