mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-01-28 01:17:30 +01:00
kernel: Add kmod-w1-slave-ds2438
This patch adds support for building the ds2438 one-wire kernel module. Signed-off-by: Andres Heinloo <andres@gfz.de> Link: https://github.com/openwrt/openwrt/pull/19694 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
68e5f46899
commit
0fa192a3a2
1 changed files with 16 additions and 0 deletions
|
|
@ -174,3 +174,19 @@ define KernelPackage/w1-slave-ds2413/description
|
|||
endef
|
||||
|
||||
$(eval $(call KernelPackage,w1-slave-ds2413))
|
||||
|
||||
|
||||
define KernelPackage/w1-slave-ds2438
|
||||
TITLE:=DS2438 Smart Battery Monitor
|
||||
KCONFIG:= \
|
||||
CONFIG_W1_SLAVE_DS2438
|
||||
FILES:=$(W1_SLAVES_DIR)/w1_ds2438.ko
|
||||
AUTOLOAD:=$(call AutoProbe,w1_ds2438)
|
||||
$(call AddDepends/w1)
|
||||
endef
|
||||
|
||||
define KernelPackage/w1-slave-ds2438/description
|
||||
Kernel module for 1-wire DS2438 Smart Battery Monitor support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,w1-slave-ds2438))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue