summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/adamnet/printer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/adamnet/printer.cpp')
-rw-r--r--src/devices/bus/adamnet/printer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/adamnet/printer.cpp b/src/devices/bus/adamnet/printer.cpp
index 6c2a609c1e5..d09f4f1d845 100644
--- a/src/devices/bus/adamnet/printer.cpp
+++ b/src/devices/bus/adamnet/printer.cpp
@@ -23,7 +23,7 @@
// DEVICE DEFINITIONS
//**************************************************************************
-const device_type ADAM_PRN = device_creator<adam_printer_device>;
+DEFINE_DEVICE_TYPE(ADAM_PRN, adam_printer_device, "adam_prn", "Adam printer")
//-------------------------------------------------
@@ -102,7 +102,7 @@ machine_config_constructor adam_printer_device::device_mconfig_additions() const
//-------------------------------------------------
adam_printer_device::adam_printer_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
- : device_t(mconfig, ADAM_PRN, "Adam printer", tag, owner, clock, "adam_prn", __FILE__),
+ : device_t(mconfig, ADAM_PRN, tag, owner, clock),
device_adamnet_card_interface(mconfig, *this),
m_maincpu(*this, M6801_TAG)
{