mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 15:50:59 +07:00
ACPI, x86/boot: make acpi_nobgrt static
Fix the following sparse warning: arch/x86/kernel/acpi/boot.c:48:5: warning: symbol 'acpi_nobgrt' was not declared. Should it be static? Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Jason Yan <yanaijie@huawei.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
parent
696ac2e3bf
commit
b5432a699f
@ -45,7 +45,7 @@ EXPORT_SYMBOL(acpi_disabled);
|
|||||||
#define PREFIX "ACPI: "
|
#define PREFIX "ACPI: "
|
||||||
|
|
||||||
int acpi_noirq; /* skip ACPI IRQ initialization */
|
int acpi_noirq; /* skip ACPI IRQ initialization */
|
||||||
int acpi_nobgrt; /* skip ACPI BGRT */
|
static int acpi_nobgrt; /* skip ACPI BGRT */
|
||||||
int acpi_pci_disabled; /* skip ACPI PCI scan and IRQ initialization */
|
int acpi_pci_disabled; /* skip ACPI PCI scan and IRQ initialization */
|
||||||
EXPORT_SYMBOL(acpi_pci_disabled);
|
EXPORT_SYMBOL(acpi_pci_disabled);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user