Commit 57a5f3c9 authored by Peter Jones's avatar Peter Jones Committed by Konrad Rzeszutek Wilk

ibft: Use IBFT_SIGN instead of open-coding the search string.

We define IBFT_SIGN to "iBFT"; may as well use it.
Signed-off-by: default avatarKonrad Rzeszutek Wilk <konrad@kernel.org>
Signed-off-by: default avatarPeter Jones <pjones@redhat.com>
parent b33a84a3
...@@ -100,7 +100,7 @@ unsigned long __init find_ibft_region(unsigned long *sizep) ...@@ -100,7 +100,7 @@ unsigned long __init find_ibft_region(unsigned long *sizep)
if (!ibft_addr) if (!ibft_addr)
acpi_table_parse(ACPI_SIG_IBFT, acpi_find_ibft); acpi_table_parse(ACPI_SIG_IBFT, acpi_find_ibft);
if (!ibft_addr) if (!ibft_addr)
acpi_table_parse("iBFT", acpi_find_ibft); acpi_table_parse(IBFT_SIGN, acpi_find_ibft);
#endif /* CONFIG_ACPI */ #endif /* CONFIG_ACPI */
/* iBFT 1.03 section 1.4.3.1 mandates that UEFI machines will /* iBFT 1.03 section 1.4.3.1 mandates that UEFI machines will
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment