summaryrefslogtreecommitdiffstats
path: root/src/devices/machine/lpc-rtc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/lpc-rtc.cpp')
-rw-r--r--src/devices/machine/lpc-rtc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/lpc-rtc.cpp b/src/devices/machine/lpc-rtc.cpp
index 65c49650e0c..ff9c942b50e 100644
--- a/src/devices/machine/lpc-rtc.cpp
+++ b/src/devices/machine/lpc-rtc.cpp
@@ -3,7 +3,7 @@
#include "emu.h"
#include "lpc-rtc.h"
-const device_type LPC_RTC = device_creator<lpc_rtc_device>;
+DEFINE_DEVICE_TYPE(LPC_RTC, lpc_rtc_device, "lpc_rpc", "LPC RTC")
DEVICE_ADDRESS_MAP_START(map, 32, lpc_rtc_device)
AM_RANGE(0x70, 0x77) AM_READWRITE8(index_r, index_w, 0x00ff00ff)
@@ -16,7 +16,7 @@ DEVICE_ADDRESS_MAP_START(extmap, 32, lpc_rtc_device)
ADDRESS_MAP_END
lpc_rtc_device::lpc_rtc_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
- : lpc_device(mconfig, LPC_RTC, "LPC RTC", tag, owner, clock, "lpc_rtc", __FILE__), cur_index(0), cur_extindex(0)
+ : lpc_device(mconfig, LPC_RTC, tag, owner, clock), cur_index(0), cur_extindex(0)
{
}