make thermal framework registered sensors also register as hwmons

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 41290
This commit is contained in:
Imre Kaloz 2014-06-20 20:44:18 +00:00
parent 86fe5a4487
commit eb394977f4

View file

@ -855,6 +855,7 @@ define KernelPackage/thermal
CONFIG_THERMAL_GOV_FAIR_SHARE=n \ CONFIG_THERMAL_GOV_FAIR_SHARE=n \
CONFIG_THERMAL_GOV_STEP_WISE=y \ CONFIG_THERMAL_GOV_STEP_WISE=y \
CONFIG_THERMAL_GOV_USER_SPACE=n \ CONFIG_THERMAL_GOV_USER_SPACE=n \
CONFIG_THERMAL_HWMON=y \
CONFIG_THERMAL_EMULATION=n CONFIG_THERMAL_EMULATION=n
FILES:=$(LINUX_DIR)/drivers/thermal/thermal_sys.ko FILES:=$(LINUX_DIR)/drivers/thermal/thermal_sys.ko
AUTOLOAD:=$(call AutoProbe,thermal_sys) AUTOLOAD:=$(call AutoProbe,thermal_sys)