From 5010e2d2dde47b90c71e865c85625862e6bef422 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Sat, 17 Jan 2015 13:58:09 +0000 Subject: [PATCH] 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 --- package/kernel/linux/modules/w1.mk | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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)) -- 2.25.1