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

kernel/modules: package driver for the LM75 sensor

SVN-Revision: 16958
Gabor Juhos 16 лет назад
Родитель
Сommit
b154676401
1 измененных файлов с 20 добавлено и 4 удалено
  1. 20 4
      package/kernel/modules/hwmon.mk

+ 20 - 4
package/kernel/modules/hwmon.mk

@@ -26,6 +26,22 @@ endef
 $(eval $(call KernelPackage,hwmon-core))
 
 
+define KernelPackage/hwmon-lm75
+  SUBMENU:=$(HWMON_MENU)
+  TITLE:=LM75 monitoring support
+  DEPENDS:=kmod-hwmon-core +kmod-i2c-core
+  KCONFIG:=CONFIG_SENSORS_LM75
+  FILES:=$(LINUX_DIR)/drivers/hwmon/lm75.$(LINUX_KMOD_SUFFIX)
+  AUTOLOAD:=$(call AutoLoad,60,lm75)
+endef
+
+define KernelPackage/hwmon-lm75/description
+ Kernel module for lm75 thermal monitor chip
+endef
+
+$(eval $(call KernelPackage,hwmon-lm75))
+
+
 define KernelPackage/hwmon-lm77
   SUBMENU:=$(HWMON_MENU)
   TITLE:=LM77 monitoring support
@@ -34,9 +50,9 @@ define KernelPackage/hwmon-lm77
   FILES:=$(LINUX_DIR)/drivers/hwmon/lm77.$(LINUX_KMOD_SUFFIX)
   AUTOLOAD:=$(call AutoLoad,60,lm77)
 endef
- 
+
 define KernelPackage/hwmon-lm77/description
- Kernel module for LM77 thermal monitor chip 
+ Kernel module for LM77 thermal monitor chip
 endef
 
 $(eval $(call KernelPackage,hwmon-lm77))
@@ -49,9 +65,9 @@ define KernelPackage/hwmon-lm90
   FILES:=$(LINUX_DIR)/drivers/hwmon/lm90.$(LINUX_KMOD_SUFFIX)
   AUTOLOAD:=$(call AutoLoad,60,lm90)
 endef
- 
+
 define KernelPackage/hwmon-lm90/description
- Kernel module for LM90 thermal monitor chip 
+ Kernel module for LM90 thermal monitor chip
 endef
 
 $(eval $(call KernelPackage,hwmon-lm90))