summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/lpc-pit.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/lpc-pit.h')
-rw-r--r--src/devices/machine/lpc-pit.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/devices/machine/lpc-pit.h b/src/devices/machine/lpc-pit.h
index 25fad7f05d2..fd0046d1d7c 100644
--- a/src/devices/machine/lpc-pit.h
+++ b/src/devices/machine/lpc-pit.h
@@ -1,7 +1,9 @@
// license:BSD-3-Clause
// copyright-holders:Olivier Galibert
-#ifndef LPC_PIT_H
-#define LPC_PIT_H
+#ifndef MAME_MACHINE_LPC_PIT_H
+#define MAME_MACHINE_LPC_PIT_H
+
+#pragma once
#include "lpc.h"
@@ -27,6 +29,6 @@ private:
DECLARE_ADDRESS_MAP(map, 32);
};
-extern const device_type LPC_PIT;
+DECLARE_DEVICE_TYPE(LPC_PIT, lpc_pit_device)
-#endif
+#endif // MAME_MACHINE_LPC_PIT_H