Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d83fd8a2 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds
Browse files

drivers/acpi/thermal.c: fix build with CONFIG_DMI=n



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: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 6e10efef
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -1710,7 +1710,6 @@ static int acpi_thermal_resume(struct acpi_device *device)
	return AE_OK;
	return AE_OK;
}
}


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


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


static int __init acpi_thermal_init(void)
static int __init acpi_thermal_init(void)
{
{