mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-07 11:30:37 +00:00
kernel: update kmod-thermal package
CONFIG_THERMAL option was changed to boolean in upstream linux commit 554b3529fe01 ("thermal/drivers/core: Remove the module Kconfig's option"). Switch it to 'y' and remove FILES and AUTOLOAD for non-existant module file. And update the descripton text for the package as in upstream linux commit eb8504620381 ("thermal: Rephrase the Kconfig text for thermal"). Signed-off-by: Sungbo Eo <mans0n@gorani.run>
This commit is contained in:
parent
5beea4c3fd
commit
218eff5bdb
@ -1039,11 +1039,11 @@ $(eval $(call KernelPackage,random-core))
|
|||||||
|
|
||||||
define KernelPackage/thermal
|
define KernelPackage/thermal
|
||||||
SUBMENU:=$(OTHER_MENU)
|
SUBMENU:=$(OTHER_MENU)
|
||||||
TITLE:=Generic Thermal sysfs driver
|
TITLE:=Thermal driver
|
||||||
DEPENDS:=+kmod-hwmon-core
|
DEPENDS:=+kmod-hwmon-core
|
||||||
HIDDEN:=1
|
HIDDEN:=1
|
||||||
KCONFIG:= \
|
KCONFIG:= \
|
||||||
CONFIG_THERMAL \
|
CONFIG_THERMAL=y \
|
||||||
CONFIG_THERMAL_OF=y \
|
CONFIG_THERMAL_OF=y \
|
||||||
CONFIG_CPU_THERMAL=y \
|
CONFIG_CPU_THERMAL=y \
|
||||||
CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y \
|
CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y \
|
||||||
@ -1055,14 +1055,11 @@ define KernelPackage/thermal
|
|||||||
CONFIG_THERMAL_GOV_USER_SPACE=n \
|
CONFIG_THERMAL_GOV_USER_SPACE=n \
|
||||||
CONFIG_THERMAL_HWMON=y \
|
CONFIG_THERMAL_HWMON=y \
|
||||||
CONFIG_THERMAL_EMULATION=n
|
CONFIG_THERMAL_EMULATION=n
|
||||||
FILES:=$(LINUX_DIR)/drivers/thermal/thermal_sys.ko
|
|
||||||
AUTOLOAD:=$(call AutoProbe,thermal_sys)
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define KernelPackage/thermal/description
|
define KernelPackage/thermal/description
|
||||||
Generic Thermal Sysfs driver offers a generic mechanism for thermal
|
Thermal driver offers a generic mechanism for thermal management.
|
||||||
management. Usually it's made up of one or more thermal zone and cooling
|
Usually it's made up of one or more thermal zone and cooling device.
|
||||||
device.
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call KernelPackage,thermal))
|
$(eval $(call KernelPackage,thermal))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user