Author: kaloz
Date: 2014-06-17 17:03:05 +0200 (Tue, 17 Jun 2014)
New Revision: 41231

Modified:
   trunk/package/kernel/linux/modules/hwmon.mk
Log:
[kernel]: package the TI TMP421 driver

Modified: trunk/package/kernel/linux/modules/hwmon.mk
===================================================================
--- trunk/package/kernel/linux/modules/hwmon.mk 2014-06-17 15:02:28 UTC (rev 
41230)
+++ trunk/package/kernel/linux/modules/hwmon.mk 2014-06-17 15:03:05 UTC (rev 
41231)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2006-2010 OpenWrt.org
+# Copyright (C) 2006-2014 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -258,3 +258,17 @@
 endef
 
 $(eval $(call KernelPackage,hwmon-gsc))
+
+define KernelPackage/hwmon-tmp421
+  TITLE:=TI TMP421 and compatible monitoring support
+  KCONFIG:=CONFIG_SENSORS_TMP421
+  FILES:=$(LINUX_DIR)/drivers/hwmon/tmp421.ko
+  AUTOLOAD:=$(call AutoLoad,60,tmp421)
+  $(call AddDepends/hwmon,+kmod-i2c-core)
+endef
+
+define KernelPacakge/hwmon-tmp421/description
+  Kernel module for the Texas Instruments TMP421 and compatible chips.
+endef
+
+$(eval $(call KernelPackage,hwmon-tmp421))
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to