Commit 95bc26dc authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] dmi_scan warning fix

dmi_dump_system() is only used if CONFIG_ACPI_BOOT.
parent 7f2db912
...@@ -162,6 +162,8 @@ enum ...@@ -162,6 +162,8 @@ enum
static char *dmi_ident[DMI_STRING_MAX]; static char *dmi_ident[DMI_STRING_MAX];
#ifdef CONFIG_ACPI_BOOT
/* print some information suitable for a blacklist entry. */ /* print some information suitable for a blacklist entry. */
static void dmi_dump_system(void) static void dmi_dump_system(void)
{ {
...@@ -176,6 +178,8 @@ static void dmi_dump_system(void) ...@@ -176,6 +178,8 @@ static void dmi_dump_system(void)
dmi_ident[DMI_BOARD_VERSION]); dmi_ident[DMI_BOARD_VERSION]);
} }
#endif
/* /*
* Save a DMI string * Save a DMI string
*/ */
......
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