From c1f8ced2f3ec69bf8cdf8315cfc90f04f8c418ad Mon Sep 17 00:00:00 2001 From: John Crispin Date: Thu, 7 Jul 2011 20:02:50 +0000 Subject: [PATCH] add 2 new kmod defines for at24/25 SVN-Revision: 27548 --- package/kernel/modules/other.mk | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index 53895bd8d5..f40fb7a893 100644 --- a/package/kernel/modules/other.mk +++ b/package/kernel/modules/other.mk @@ -913,3 +913,33 @@ define KernelPackage/rfkill/description endef $(eval $(call KernelPackage,rfkill)) + +define KernelPackage/eeprom-at24 + SUBMENU:=$(OTHER_MENU) + TITLE:=EEPROM AT24 support + KCONFIG:=CONFIG_EEPROM_AT24 + DEPENDS:=+kmod-i2c-core + FILES:=$(LINUX_DIR)/drivers/misc/eeprom/at24.ko + AUTOLOAD:=$(call AutoLoad,60,at24) +endef + +define KernelPackage/eeprom-at24/description + Kernel module for most I2C EEPROMs +endef + +$(eval $(call KernelPackage,eeprom-at24)) + + +define KernelPackage/eeprom-at25 + SUBMENU:=$(OTHER_MENU) + TITLE:=EEPROM AT25 support + KCONFIG:=CONFIG_EEPROM_AT25 + FILES:=$(LINUX_DIR)/drivers/misc/eeprom/at25.ko + AUTOLOAD:=$(call AutoLoad,61,at25) +endef + +define KernelPackage/eeprom-at25/description + Kernel module for most SPI EEPROMs +endef + +$(eval $(call KernelPackage,eeprom-at25)) -- 2.30.2