summaryrefslogtreecommitdiffstats
path: root/src/mame/machine/wpc_lamp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/wpc_lamp.cpp')
-rw-r--r--src/mame/machine/wpc_lamp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/machine/wpc_lamp.cpp b/src/mame/machine/wpc_lamp.cpp
index d40bc033b03..bab67eb0299 100644
--- a/src/mame/machine/wpc_lamp.cpp
+++ b/src/mame/machine/wpc_lamp.cpp
@@ -4,10 +4,10 @@
#include "emu.h"
#include "wpc_lamp.h"
-const device_type WPC_LAMP = device_creator<wpc_lamp_device>;
+DEFINE_DEVICE_TYPE(WPC_LAMP, wpc_lamp_device, "wpc_lamp", "Williams Pinball Controller Lamp Control")
wpc_lamp_device::wpc_lamp_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
- device_t(mconfig, WPC_LAMP, "Williams Pinball Controller Lamp Control", tag, owner, clock, "wpc_lamp", __FILE__)
+ device_t(mconfig, WPC_LAMP, tag, owner, clock)
{
names = nullptr;
}