Skip to content

Commit b5432a6

Browse files
JasonYanHwrafaeljw
authored andcommitted
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 <[email protected]> Signed-off-by: Jason Yan <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 696ac2e commit b5432a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/kernel/acpi/boot.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ EXPORT_SYMBOL(acpi_disabled);
4545
#define PREFIX "ACPI: "
4646

4747
int acpi_noirq; /* skip ACPI IRQ initialization */
48-
int acpi_nobgrt; /* skip ACPI BGRT */
48+
static int acpi_nobgrt; /* skip ACPI BGRT */
4949
int acpi_pci_disabled; /* skip ACPI PCI scan and IRQ initialization */
5050
EXPORT_SYMBOL(acpi_pci_disabled);
5151

0 commit comments

Comments
 (0)