summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/lpc-acpi.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/lpc-acpi.h')
-rw-r--r--src/devices/machine/lpc-acpi.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/devices/machine/lpc-acpi.h b/src/devices/machine/lpc-acpi.h
index 68badc4c337..0159f974517 100644
--- a/src/devices/machine/lpc-acpi.h
+++ b/src/devices/machine/lpc-acpi.h
@@ -1,7 +1,9 @@
// license:BSD-3-Clause
// copyright-holders:Olivier Galibert
-#ifndef LPC_ACPI_H
-#define LPC_ACPI_H
+#ifndef MAME_MACHINE_LPC_ACPI_H
+#define MAME_MACHINE_LPC_ACPI_H
+
+#pragma once
#include "lpc.h"
@@ -83,6 +85,6 @@ private:
DECLARE_ADDRESS_MAP(map, 32);
};
-extern const device_type LPC_ACPI;
+DECLARE_DEVICE_TYPE(LPC_ACPI, lpc_acpi_device)
-#endif
+#endif // MAME_MACHINE_LPC_ACPI_H