From: Stijn Tintel Date: Tue, 19 Jun 2018 17:58:51 +0000 (+0300) Subject: kernel: define THERMAL_EMERGENCY_POWEROFF_DELAY_MS X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f9a42ae2d707b63b2bbe72945a2816da7d4fe30c;p=openwrt%2Fstaging%2Fyousong.git kernel: define THERMAL_EMERGENCY_POWEROFF_DELAY_MS 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 --- diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index 3a997f881e..7e18a21db3 100644 --- a/package/kernel/linux/modules/other.mk +++ b/package/kernel/linux/modules/other.mk @@ -927,6 +927,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 \