diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2016-02-27 22:58:00 -0800 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2016-03-17 10:27:22 +0800 |
commit | 358bb3ff5bb3a412aa784e7d1a4d6faf2fc6c8ae (patch) | |
tree | 5eef8314fc91e1cf490fb3bc03c69e8939a8642c /arch/x86/lib | |
parent | 897e1dc86af7b2b9d58c71345c585d130b16232d (diff) | |
download | u-boot-358bb3ff5bb3a412aa784e7d1a4d6faf2fc6c8ae.tar.gz |
x86: Change write_acpi_tables() signature a little bit
Change the parameter and return value of write_acpi_tables() to u32
to conform with other table write routines.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/lib')
-rw-r--r-- | arch/x86/lib/acpi_table.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/lib/acpi_table.c b/arch/x86/lib/acpi_table.c index 2ec5ad2fa4..790f6fbd0f 100644 --- a/arch/x86/lib/acpi_table.c +++ b/arch/x86/lib/acpi_table.c @@ -335,9 +335,9 @@ static void acpi_create_ssdt_generator(acpi_header_t *ssdt, * QEMU's version of write_acpi_tables is defined in * arch/x86/cpu/qemu/fw_cfg.c */ -unsigned long write_acpi_tables(unsigned long start) +u32 write_acpi_tables(u32 start) { - unsigned long current; + u32 current; struct acpi_rsdp *rsdp; struct acpi_rsdt *rsdt; struct acpi_xsdt *xsdt; |