diff mbox

[OpenWrt-Devel] Add kmod-w1-slave-ds2413

Message ID 54B43AE4.5070804@blue-gate.be
State Accepted
Headers show

Commit Message

Wouter Paesen Jan. 12, 2015, 9:21 p.m. UTC
This patch adds support for building the ds2413 one-wire kernel module.

Signed-off-by: Wouter Paesen <wouter@blue-gate.be>
diff mbox

Patch

--- trunk/package/kernel/linux/modules/w1.mk    (revision 43950)
+++ trunk/package/kernel/linux/modules/w1.mk    (working copy)
@@ -174,3 +174,19 @@ 
  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))
+