kernel: define CONFIG_CPU_THERMAL in kmod-thermal

Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau 2016-05-20 14:17:53 +02:00
parent d01487e380
commit 0d476971f2

View File

@ -900,6 +900,7 @@ define KernelPackage/thermal
KCONFIG:= \ KCONFIG:= \
CONFIG_THERMAL \ CONFIG_THERMAL \
CONFIG_THERMAL_OF=y \ CONFIG_THERMAL_OF=y \
CONFIG_CPU_THERMAL=y \
CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y \ CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y \
CONFIG_THERMAL_DEFAULT_GOV_FAIR_SHARE=n \ CONFIG_THERMAL_DEFAULT_GOV_FAIR_SHARE=n \
CONFIG_THERMAL_DEFAULT_GOV_USER_SPACE=n \ CONFIG_THERMAL_DEFAULT_GOV_USER_SPACE=n \
@ -943,7 +944,6 @@ define KernelPackage/thermal-imx
TITLE:=Temperature sensor driver for Freescale i.MX SoCs TITLE:=Temperature sensor driver for Freescale i.MX SoCs
DEPENDS:=@TARGET_imx6 +kmod-thermal DEPENDS:=@TARGET_imx6 +kmod-thermal
KCONFIG:= \ KCONFIG:= \
CONFIG_CPU_THERMAL=y \
CONFIG_IMX_THERMAL CONFIG_IMX_THERMAL
FILES:=$(LINUX_DIR)/drivers/thermal/imx_thermal.ko FILES:=$(LINUX_DIR)/drivers/thermal/imx_thermal.ko
AUTOLOAD:=$(call AutoProbe,imx_thermal) AUTOLOAD:=$(call AutoProbe,imx_thermal)