x86: acpi: Move APIs unrelated to ACPI tables generation to a separate library
[oweals/u-boot.git] / arch / x86 / lib / acpi_s3.c
index 3175da828bdbe64d9b9c79fb684e61fd39559825..03917188a9bc6ff8df37268663a5d7fde2c6bcd8 100644 (file)
@@ -1,13 +1,14 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright (C) 2017, Bin Meng <bmeng.cn@gmail.com>
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
+#include <asm/acpi.h>
 #include <asm/acpi_s3.h>
 #include <asm/acpi_table.h>
 #include <asm/post.h>
+#include <linux/linkage.h>
 
 DECLARE_GLOBAL_DATA_PTR;