Skip to content

Commit

Permalink
drivers/acpi/thermal.c: fix build with CONFIG_DMI=n
Browse files Browse the repository at this point in the history
drivers/acpi/thermal.c: In function 'acpi_thermal_init':
drivers/acpi/thermal.c:1794: error: 'thermal_dmi_table' undeclared (first use in this function)
drivers/acpi/thermal.c:1794: error: (Each undeclared identifier is reported only once
drivers/acpi/thermal.c:1794: error: for each function it appears in.)

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Apr 28, 2008
1 parent 6e10efe commit d83fd8a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/acpi/thermal.c
Original file line number Diff line number Diff line change
Expand Up @@ -1710,7 +1710,6 @@ static int acpi_thermal_resume(struct acpi_device *device)
return AE_OK;
}

#ifdef CONFIG_DMI
static int thermal_act(const struct dmi_system_id *d) {

if (act == 0) {
Expand Down Expand Up @@ -1785,7 +1784,6 @@ static struct dmi_system_id thermal_dmi_table[] __initdata = {
},
{}
};
#endif /* CONFIG_DMI */

static int __init acpi_thermal_init(void)
{
Expand Down

0 comments on commit d83fd8a

Please sign in to comment.