diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2018-07-19 07:42:15 +0300 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2018-07-20 04:33:22 +0300 |
commit | a0609a8d19d4a9a86572fffb7cb8a3661fffbcf7 (patch) | |
tree | 3f587887376b079435794f85c80d2ba984224100 /arch/x86/lib/acpi_s3.c | |
parent | b37b7b2063e02718970ca1882a4522ccbe1106e9 (diff) | |
download | u-boot-a0609a8d19d4a9a86572fffb7cb8a3661fffbcf7.tar.xz |
x86: acpi: Move APIs unrelated to ACPI tables generation to a separate library
acpi_find_fadt(), acpi_find_wakeup_vector() and enter_acpi_mode()
are something unrelated to ACPI tables generation. Move these to
a separate library.
This also fixes several style issues reported by checkpatch in the
original codes.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'arch/x86/lib/acpi_s3.c')
-rw-r--r-- | arch/x86/lib/acpi_s3.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/lib/acpi_s3.c b/arch/x86/lib/acpi_s3.c index 514b92ffbd..03917188a9 100644 --- a/arch/x86/lib/acpi_s3.c +++ b/arch/x86/lib/acpi_s3.c @@ -4,6 +4,7 @@ */ #include <common.h> +#include <asm/acpi.h> #include <asm/acpi_s3.h> #include <asm/acpi_table.h> #include <asm/post.h> |