summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/74165.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/74165.cpp')
-rw-r--r--src/devices/machine/74165.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/devices/machine/74165.cpp b/src/devices/machine/74165.cpp
index 9ba4415d56c..d33033d5ab7 100644
--- a/src/devices/machine/74165.cpp
+++ b/src/devices/machine/74165.cpp
@@ -22,10 +22,9 @@ DEFINE_DEVICE_TYPE(TTL165, ttl165_device, "ttl165", "SN54/74165")
// device_add_mconfig - add device configuration
//-------------------------------------------------
-void ttl165_device::device_add_mconfig(machine_config &config)
-{
- TIMER(config, m_timer).configure_generic(FUNC(ttl165_device::qh_output));
-}
+MACHINE_CONFIG_START(ttl165_device::device_add_mconfig)
+ MCFG_TIMER_DRIVER_ADD("timer", ttl165_device, qh_output)
+MACHINE_CONFIG_END
//**************************************************************************