summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/adam/ide.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/adam/ide.h')
-rw-r--r--src/devices/bus/adam/ide.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/devices/bus/adam/ide.h b/src/devices/bus/adam/ide.h
index 881129f6809..dd17f98ab03 100644
--- a/src/devices/bus/adam/ide.h
+++ b/src/devices/bus/adam/ide.h
@@ -6,10 +6,10 @@
**********************************************************************/
-#pragma once
+#ifndef MAME_BUS_ADAM_IDE_H
+#define MAME_BUS_ADAM_IDE_H
-#ifndef __ADAM_IDE__
-#define __ADAM_IDE__
+#pragma once
#include "exp.h"
#include "machine/ataintf.h"
@@ -51,8 +51,6 @@ private:
// device type definition
-extern const device_type ADAM_IDE;
-
-
+DECLARE_DEVICE_TYPE(ADAM_IDE, powermate_ide_device)
-#endif
+#endif // MAME_BUS_ADAM_IDE_H