aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-01-17 13:58:09 +0000
committerJohn Crispin <blogic@openwrt.org>2015-01-17 13:58:09 +0000
commit513e3dad017b73c7fd4a5259d5c30cfdc5cc1af8 (patch)
treeca5a4d0cf61f4096f2e5b9c0316b0e7d43c62cfb /package
parent2f54087f038ea1dcfafbf7771ed8bcdbcee6ec3f (diff)
downloadupstream-513e3dad017b73c7fd4a5259d5c30cfdc5cc1af8.tar.gz
upstream-513e3dad017b73c7fd4a5259d5c30cfdc5cc1af8.tar.bz2
upstream-513e3dad017b73c7fd4a5259d5c30cfdc5cc1af8.zip
modules: Add kmod-w1-slave-ds2413
This patch adds support for building the ds2413 one-wire kernel module. Signed-off-by: Wouter Paesen <wouter@blue-gate.be> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43999 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/kernel/linux/modules/w1.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/w1.mk b/package/kernel/linux/modules/w1.mk
index c2fc6495d4..196fe675dc 100644
--- a/package/kernel/linux/modules/w1.mk
+++ b/package/kernel/linux/modules/w1.mk
@@ -174,3 +174,19 @@ define KernelPackage/w1-slave-ds2760/description
endef
$(eval $(call KernelPackage,w1-slave-ds2760))
+
+
+define KernelPackage/w1-slave-ds2413
+ TITLE:=DS2413 2 Ch. Addressable Switch
+ KCONFIG:= \
+ CONFIG_W1_SLAVE_DS2413
+ FILES:=$(W1_SLAVES_DIR)/w1_ds2413.ko
+ AUTOLOAD:=$(call AutoProbe,w1_ds2413)
+ $(call AddDepends/w1)
+endef
+
+define KernelPackage/w1-slave-ds2413/description
+ Kernel module for 1-wire DS2413 Dual Channel Addressable Switch support
+endef
+
+$(eval $(call KernelPackage,w1-slave-ds2413))