summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/ds1204.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/ds1204.cpp')
-rw-r--r--src/devices/machine/ds1204.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/devices/machine/ds1204.cpp b/src/devices/machine/ds1204.cpp
index 8e326ab451f..17ff81b8c0b 100644
--- a/src/devices/machine/ds1204.cpp
+++ b/src/devices/machine/ds1204.cpp
@@ -7,10 +7,12 @@
*
*/
-#include <stdio.h>
#include "emu.h"
#include "ds1204.h"
+#include <stdio.h>
+
+
#define VERBOSE_LEVEL ( 0 )
inline void ATTR_PRINTF( 3, 4 ) ds1204_device::verboselog( int n_level, const char *s_fmt, ... )
@@ -27,10 +29,10 @@ inline void ATTR_PRINTF( 3, 4 ) ds1204_device::verboselog( int n_level, const ch
}
// device type definition
-const device_type DS1204 = device_creator<ds1204_device>;
+DEFINE_DEVICE_TYPE(DS1204, ds1204_device, "ds1204", "DS1204")
ds1204_device::ds1204_device( const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock )
- : device_t( mconfig, DS1204, "DS1204", tag, owner, clock, "ds1204", __FILE__ ),
+ : device_t(mconfig, DS1204, tag, owner, clock),
device_nvram_interface(mconfig, *this),
m_region(*this, DEVICE_SELF),
m_rst( 0 ),