Просмотр исходного кода

package/kernel: add package for the ADT7473/7475/7476/7490 sensors

SVN-Revision: 31657
Gabor Juhos 13 лет назад
Родитель
Сommit
e976bf5600
1 измененных файлов с 15 добавлено и 0 удалено
  1. 15 0
      package/kernel/modules/hwmon.mk

+ 15 - 0
package/kernel/modules/hwmon.mk

@@ -45,6 +45,21 @@ endef
 $(eval $(call KernelPackage,hwmon-vid))
 
 
+define KernelPackage/hwmon-adt7475
+  TITLE:=ADT7473/7475/7476/7490 monitoring support
+  KCONFIG:=CONFIG_SENSORS_ADT7475
+  FILES:=$(LINUX_DIR)/drivers/hwmon/adt7475.ko
+  AUTOLOAD:=$(call AutoLoad,60,adt7475)
+  $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid)
+endef
+
+define KernelPackage/hwmon-adt7475/description
+  Kernel module for ADT7473/7475/7476/7490 thermal monitor chip.
+endef
+
+$(eval $(call KernelPackage,hwmon-adt7475))
+
+
 define KernelPackage/hwmon-lm63
   TITLE:=LM63/64 monitoring support
   KCONFIG:=CONFIG_SENSORS_LM63