[LEDE-DEV] [PATCH] add kernel module package for the W83793 hwmon chips

John Crispin john at phrozen.org
Sat Aug 6 23:49:13 PDT 2016


Hi Florian,

this and your other patch are missing the prefix in the subject

and a small comment inline

On 04/08/2016 14:15, Florian Larysch wrote:
> Signed-off-by: Florian Larysch <fl at n621.de>
> ---
>  package/kernel/linux/modules/hwmon.mk | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)
> 
> diff --git a/package/kernel/linux/modules/hwmon.mk b/package/kernel/linux/modules/hwmon.mk
> index 0a8115c..444d260 100644
> --- a/package/kernel/linux/modules/hwmon.mk
> +++ b/package/kernel/linux/modules/hwmon.mk
> @@ -298,6 +298,21 @@ endef
>  $(eval $(call KernelPackage,hwmon-w83627hf))
>  
>  
> +define KernelPackage/hwmon-w83793
> +  TITLE:=Winbond W83793G/R monitoring support
> +  KCONFIG:=CONFIG_SENSORS_W83793
> +  FILES:=$(LINUX_DIR)/drivers/hwmon/w83793.ko
> +  AUTOLOAD:=$(call AutoLoad,50,w83793)

why use AutoLoad and not AutoProbe hee ?

	John

> +  $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid)
> +endef
> +
> +define KernelPackage/hwmon-w83793/description
> +  Kernel module for the Winbond W83793G and W83793R chips.
> +endef
> +
> +$(eval $(call KernelPackage,hwmon-w83793))
> +
> +
>  define KernelPackage/hwmon-gsc
>    TITLE:=Gateworks GSC monitoring support
>    KCONFIG:=CONFIG_SENSORS_GSC
> 



More information about the Lede-dev mailing list