summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/eeprom.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/eeprom.h')
-rw-r--r--src/devices/machine/eeprom.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/devices/machine/eeprom.h b/src/devices/machine/eeprom.h
index e386d5f42cf..2c2fb68f7d1 100644
--- a/src/devices/machine/eeprom.h
+++ b/src/devices/machine/eeprom.h
@@ -8,10 +8,10 @@
***************************************************************************/
-#pragma once
+#ifndef MAME_MACHINE_EEPROM_H
+#define MAME_MACHINE_EEPROM_H
-#ifndef __EEPROM_H__
-#define __EEPROM_H__
+#pragma once
@@ -46,10 +46,6 @@
class eeprom_base_device : public device_t,
public device_nvram_interface
{
-protected:
- // construction/destruction
- eeprom_base_device(const machine_config &mconfig, device_type devtype, const char *name, const char *tag, device_t *owner, const char *shortname, const char *file);
-
public:
// timing constants
enum timing_type
@@ -83,6 +79,9 @@ public:
void internal_write(offs_t address, uint32_t data);
protected:
+ // construction/destruction
+ eeprom_base_device(const machine_config &mconfig, device_type devtype, const char *tag, device_t *owner);
+
// device-level overrides
virtual void device_validity_check(validity_checker &valid) const override;
virtual void device_start() override;
@@ -111,5 +110,4 @@ protected:
attotime m_completion_time;
};
-
-#endif
+#endif // MAME_MACHINE_EEPROM_H