aboutsummaryrefslogtreecommitdiff
path: root/include/power/acpi_pmc.h
diff options
context:
space:
mode:
authorSimon Glass2020-09-22 12:45:06 -0600
committerBin Meng2020-09-25 11:27:16 +0800
commit10552377d44045fbf1a30615b2c2d1d4ae5d03ec (patch)
tree152e52e253a22dffbe9dfece588ccd550da6d05b /include/power/acpi_pmc.h
parent59561c7c2e07aba2a1bca1a1f21e49d69c6af53c (diff)
x86: apl: Add power-management definitions
Add SCI and power-state definitions required by ACPI tables. Fix the license to match the original source file. Als update the guard on acpi_pmc.h to avoid an error when buiding ASL. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/power/acpi_pmc.h')
-rw-r--r--include/power/acpi_pmc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/power/acpi_pmc.h b/include/power/acpi_pmc.h
index 5fbf7451369..222288b71a4 100644
--- a/include/power/acpi_pmc.h
+++ b/include/power/acpi_pmc.h
@@ -6,7 +6,7 @@
#ifndef __ACPI_PMC_H
#define __ACPI_PMC_H
-#ifndef __ACPI__
+#ifndef __ASSEMBLY__
enum {
GPE0_REG_MAX = 4,
@@ -194,6 +194,6 @@ void pmc_dump_info(struct udevice *dev);
*/
int pmc_gpe_init(struct udevice *dev);
-#endif /* !__ACPI__ */
+#endif /* !__ASSEMBLY__ */
#endif