Adds a kmod for the DS2431
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 18 Mar 2012 19:49:19 +0000 (19:49 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 18 Mar 2012 19:49:19 +0000 (19:49 +0000)
The DS2431 is a 1 wire 1kb eeprom.

Signed-off-by: Christian Gagneraud <chris@techworks.ie>
SVN-Revision: 30987

package/kernel/modules/w1.mk

index c2bdd7099a2ded45a54aa73e17018a6e1a829e6d..94bffc2ed2ff814694b3fe018e56de6627e61677 100644 (file)
@@ -112,6 +112,19 @@ endef
 
 $(eval $(call KernelPackage,w1-slave-smem))
 
+define KernelPackage/w1-slave-ds2431
+  TITLE:=DS2431 1kb EEPROM driver
+  KCONFIG:= CONFIG_W1_SLAVE_DS2431
+  FILES:=$(W1_SLAVES_DIR)/w1_ds2431.ko
+  AUTOLOAD:=$(call AutoLoad,70,w1_ds2431)
+  $(call AddDepends/w1)
+endef
+
+define KernelPackage/w1-slave-ds2431/description
+  Kernel module for 1-wire 1kb EEPROM (DS2431)
+endef
+
+$(eval $(call KernelPackage,w1-slave-ds2431))
 
 define KernelPackage/w1-slave-ds2433
   TITLE:=Simple 64bit memory family implementation