This patch fixes missing hwmon-vid module error on LM77 package build. hwmon-vid...
authorTravis Kemen <thepeople@openwrt.org>
Tue, 25 Mar 2008 15:18:16 +0000 (15:18 +0000)
committerTravis Kemen <thepeople@openwrt.org>
Tue, 25 Mar 2008 15:18:16 +0000 (15:18 +0000)
SVN-Revision: 10657

package/kernel/modules/hwmon.mk

index 3dd3f4ceb6a8d3bbd8dfa2967556905906f42215..a898f6e04370b3850b9085591dc5e515d249e69c 100644 (file)
@@ -14,12 +14,10 @@ define KernelPackage/hwmon-core
   DEPENDS:=@LINUX_2_6
   KCONFIG:= \
        CONFIG_HWMON \
-       CONFIG_HWMON_VID \
        CONFIG_HWMON_DEBUG_CHIP=n
   FILES:= \
-       $(LINUX_DIR)/drivers/hwmon/hwmon.$(LINUX_KMOD_SUFFIX) \
-       $(LINUX_DIR)/drivers/hwmon/hwmon-vid.$(LINUX_KMOD_SUFFIX)
-  AUTOLOAD:=$(call AutoLoad,40,hwmon hwmon-vid)
+       $(LINUX_DIR)/drivers/hwmon/hwmon.$(LINUX_KMOD_SUFFIX)
+  AUTOLOAD:=$(call AutoLoad,40,hwmon)
 endef
 
 define KernelPackage/hwmon-core/description
@@ -49,9 +47,13 @@ define KernelPackage/hwmon-pc87360
   SUBMENU:=$(HWMON_MENU)
   TITLE:=PC87360 monitoring support
   DEPENDS:=kmod-hwmon-core
-  KCONFIG:=CONFIG_SENSORS_PC87360
-  FILES:=$(LINUX_DIR)/drivers/hwmon/pc87360.$(LINUX_KMOD_SUFFIX)
-  AUTOLOAD:=$(call AutoLoad,50,pc87360)
+  KCONFIG:= \
+       CONFIG_SENSORS_PC87360 \
+       CONFIG_HWMON_VID
+  FILES:= \
+       $(LINUX_DIR)/drivers/hwmon/hwmon-vid.$(LINUX_KMOD_SUFFIX) \
+       $(LINUX_DIR)/drivers/hwmon/pc87360.$(LINUX_KMOD_SUFFIX)
+  AUTOLOAD:=$(call AutoLoad,50,hwmon-vid pc87360)
 endef
 
 define KernelPackage/hwmon-pc87360/description