summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/ms7004.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/ms7004.cpp')
-rw-r--r--src/mame/machine/ms7004.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/machine/ms7004.cpp b/src/mame/machine/ms7004.cpp
index d6fb86e964b..601643727eb 100644
--- a/src/mame/machine/ms7004.cpp
+++ b/src/mame/machine/ms7004.cpp
@@ -36,7 +36,7 @@
// DEVICE DEFINITIONS
//**************************************************************************
-const device_type MS7004 = device_creator<ms7004_device>;
+DEFINE_DEVICE_TYPE(MS7004, ms7004_device, "ms7004", "MS7004 keyboard")
ROM_START( ms7004 )
ROM_REGION (0x800, MS7004_CPU_TAG, 0)
@@ -357,7 +357,7 @@ ioport_constructor ms7004_device::device_input_ports() const
//-------------------------------------------------
ms7004_device::ms7004_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
- : device_t(mconfig, MS7004, "MS7004 keyboard", tag, owner, clock, "ms7004", __FILE__),
+ : device_t(mconfig, MS7004, tag, owner, clock),
m_maincpu(*this, MS7004_CPU_TAG),
m_speaker(*this, MS7004_SPK_TAG),
m_i8243(*this, "i8243"),