summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/nes_ctrl/mjpanel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/nes_ctrl/mjpanel.h')
-rw-r--r--src/devices/bus/nes_ctrl/mjpanel.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/devices/bus/nes_ctrl/mjpanel.h b/src/devices/bus/nes_ctrl/mjpanel.h
index 7580ef400b2..1a18bf0b19c 100644
--- a/src/devices/bus/nes_ctrl/mjpanel.h
+++ b/src/devices/bus/nes_ctrl/mjpanel.h
@@ -6,14 +6,14 @@
**********************************************************************/
-#pragma once
-
-#ifndef __NES_MJPANEL__
-#define __NES_MJPANEL__
+#ifndef MAME_BUS_NES_CTRL_MJPANEL_H
+#define MAME_BUS_NES_CTRL_MJPANEL_H
+#pragma once
#include "ctrl.h"
+
//**************************************************************************
// TYPE DEFINITIONS
//**************************************************************************
@@ -44,7 +44,7 @@ private:
// device type definition
-extern const device_type NES_MJPANEL;
+DECLARE_DEVICE_TYPE(NES_MJPANEL, nes_mjpanel_device)
-#endif
+#endif // MAME_BUS_NES_CTRL_MJPANEL_H