summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/bankdev.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/bankdev.cpp')
-rw-r--r--src/devices/machine/bankdev.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/bankdev.cpp b/src/devices/machine/bankdev.cpp
index 8197f502c79..50000e8942f 100644
--- a/src/devices/machine/bankdev.cpp
+++ b/src/devices/machine/bankdev.cpp
@@ -4,10 +4,10 @@
#include "bankdev.h"
// device type definition
-const device_type ADDRESS_MAP_BANK = device_creator<address_map_bank_device>;
+DEFINE_DEVICE_TYPE(ADDRESS_MAP_BANK, address_map_bank_device, "address_map_bank", "Address Map Bank")
address_map_bank_device::address_map_bank_device( const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock )
- : device_t(mconfig, ADDRESS_MAP_BANK, "Address Map Bank", tag, owner, clock, "address_map_bank", __FILE__),
+ : device_t(mconfig, ADDRESS_MAP_BANK, tag, owner, clock),
device_memory_interface(mconfig, *this),
m_endianness(ENDIANNESS_NATIVE),
m_databus_width(0),