summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/adc0808.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/adc0808.cpp')
-rw-r--r--src/devices/machine/adc0808.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/devices/machine/adc0808.cpp b/src/devices/machine/adc0808.cpp
index acc5704662d..d279850f32e 100644
--- a/src/devices/machine/adc0808.cpp
+++ b/src/devices/machine/adc0808.cpp
@@ -21,21 +21,22 @@
//**************************************************************************
// device type definition
-const device_type ADC0808 = device_creator<adc0808_device>;
+DEFINE_DEVICE_TYPE(ADC0808, adc0808_device, "adc0808", "ADC0808")
//-------------------------------------------------
// adc0808_device - constructor
//-------------------------------------------------
adc0808_device::adc0808_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
- : device_t(mconfig, ADC0808, "ADC0808", tag, owner, clock, "adc0808", __FILE__),
+ : device_t(mconfig, ADC0808, tag, owner, clock),
m_out_eoc_cb(*this),
m_address(0),
m_start(0),
m_eoc(0),
m_next_eoc(0), m_sar(0),
m_cycle(0),
- m_bit(0), m_cycle_timer(nullptr)
+ m_bit(0),
+ m_cycle_timer(nullptr)
{
}