kernel: define THERMAL_EMERGENCY_POWEROFF_DELAY_MS
authorStijn Tintel <[email protected]>
Tue, 19 Jun 2018 17:58:51 +0000 (20:58 +0300)
committerJo-Philipp Wich <[email protected]>
Tue, 18 Dec 2018 16:32:19 +0000 (17:32 +0100)
Enabling CONFIG_ATH10K_THERMAL on targets that don't have CONFIG_THERMAL
enabled in their kernel config causes build to fail due to missing
symbol THERMAL_EMERGENCY_POWEROFF_DELAY_MS. Add it to kmod-thermal.

Signed-off-by: Stijn Tintel <[email protected]>
(backported from f9a42ae2d707b63b2bbe72945a2816da7d4fe30c)

package/kernel/linux/modules/other.mk

index 40199bc262585e0166dd0a2a0dc1b701df26f754..7df93d3a01157837aa58def58d208c79842c623c 100644 (file)
@@ -931,6 +931,7 @@ define KernelPackage/thermal
        CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y \
        CONFIG_THERMAL_DEFAULT_GOV_FAIR_SHARE=n \
        CONFIG_THERMAL_DEFAULT_GOV_USER_SPACE=n \
+       CONFIG_THERMAL_EMERGENCY_POWEROFF_DELAY_MS=0 \
        CONFIG_THERMAL_GOV_FAIR_SHARE=n \
        CONFIG_THERMAL_GOV_STEP_WISE=y \
        CONFIG_THERMAL_GOV_USER_SPACE=n \