aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorRandy Dunlap <[email protected]>2020-11-16 18:38:07 -0800
committerDaniel Lezcano <[email protected]>2020-11-17 10:05:43 +0100
commitbe133722df5168d2f304cc59b80d3d21d6ea9433 (patch)
tree549a5c9a2c1821c1a0016f7cf7d4126fb6596f27 /tools/perf/scripts/python/export-to-postgresql.py
parentcb68a8580e2086fad38597af4c60d39de8df0cde (diff)
thermal: intel_pch_thermal: fix build for ACPI not enabled
The reference to acpi_gbl_FADT causes a build error when ACPI is not enabled. Fix by making that conditional on CONFIG_ACPI. ../drivers/thermal/intel/intel_pch_thermal.c: In function 'pch_wpt_suspend': ../drivers/thermal/intel/intel_pch_thermal.c:217:8: error: 'acpi_gbl_FADT' undeclared (first use in this function); did you mean 'acpi_get_type'? if (!(acpi_gbl_FADT.flags & ACPI_FADT_LOW_POWER_S0)) ^~~~~~~~~~~~~ Fixes: ef63b043ac86 ("thermal: intel: pch: fix S0ix failure due to PCH temperature above threshold") Signed-off-by: Randy Dunlap <[email protected]> Cc: Sumeet Pawnikar <[email protected]> Cc: Daniel Lezcano <[email protected]> Cc: Zhang Rui <[email protected]> Cc: Amit Kucheria <[email protected]> Cc: [email protected] Signed-off-by: Daniel Lezcano <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions