From: John Crispin Date: Sat, 17 Jan 2015 13:58:09 +0000 (+0000) Subject: modules: Add kmod-w1-slave-ds2413 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5010e2d2dde47b90c71e865c85625862e6bef422;p=openwrt%2Fstaging%2Fstintel.git modules: Add kmod-w1-slave-ds2413 This patch adds support for building the ds2413 one-wire kernel module. Signed-off-by: Wouter Paesen SVN-Revision: 43999 --- 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))