summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Polyakov <max.senia.poliak@gmail.com>2019-11-27 13:01:24 +0300
committerFelix Held <felix-coreboot@felixheld.de>2019-12-01 17:57:56 +0000
commiteef7c69d491de1a9b2fbc68f333c54fd5eac86a3 (patch)
tree19c4a9208d86ffb0677e1fa41a345d77c5f73c1f
parenta854c9d7874a4592f2ea9b8d19703c81adef33e9 (diff)
superio/nct5539d: include the missing acpi.h and ssdt.h
Change-Id: Idd80fae1c39f3c7c4bc66a42e9023fb7a727b024 Signed-off-by: Maxim Polyakov <max.senia.poliak@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/37274 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
-rw-r--r--src/superio/nuvoton/nct5539d/superio.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/superio/nuvoton/nct5539d/superio.c b/src/superio/nuvoton/nct5539d/superio.c
index 4f2a4a5c16..45187ac74b 100644
--- a/src/superio/nuvoton/nct5539d/superio.c
+++ b/src/superio/nuvoton/nct5539d/superio.c
@@ -24,9 +24,12 @@
#include <pc80/keyboard.h>
#include <stdlib.h>
#include <superio/conf_mode.h>
-
#include "nct5539d.h"
+#if CONFIG(HAVE_ACPI_TABLES)
+#include <superio/common/ssdt.h>
+#include <arch/acpi.h>
+#endif
static void nct5539d_init(struct device *dev)
{