aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/thermal.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2008-04-28 05:14:13 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-28 11:58:30 -0400
commitd83fd8a26769c75d51a6b05d8dcb3e36302dd8ba (patch)
tree69a00ebf477a24ea1be96d982eaf84c714da9359 /drivers/acpi/thermal.c
parent6e10efefaae45989f2f143bacfef75af55068378 (diff)
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: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/acpi/thermal.c')
-rw-r--r--drivers/acpi/thermal.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/acpi/thermal.c b/drivers/acpi/thermal.c
index 1bcecc7dd2c..766bd25d337 100644
--- a/drivers/acpi/thermal.c
+++ b/drivers/acpi/thermal.c
@@ -1710,7 +1710,6 @@ static int acpi_thermal_resume(struct acpi_device *device)
1710 return AE_OK; 1710 return AE_OK;
1711} 1711}
1712 1712
1713#ifdef CONFIG_DMI
1714static int thermal_act(const struct dmi_system_id *d) { 1713static int thermal_act(const struct dmi_system_id *d) {
1715 1714
1716 if (act == 0) { 1715 if (act == 0) {
@@ -1785,7 +1784,6 @@ static struct dmi_system_id thermal_dmi_table[] __initdata = {
1785 }, 1784 },
1786 {} 1785 {}
1787}; 1786};
1788#endif /* CONFIG_DMI */
1789 1787
1790static int __init acpi_thermal_init(void) 1788static int __init acpi_thermal_init(void)
1791{ 1789{