From: Florian Fainelli Date: Tue, 24 Jul 2012 19:43:06 +0000 (+0000) Subject: [package] add kmod-regmap including both i2c and spi modules X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=19df96469439e10ce11f381db148c932c3fb6f8d;p=openwrt%2Fsvn-archive%2Farchive.git [package] add kmod-regmap including both i2c and spi modules This is required for quite SoC sound support SVN-Revision: 32800 --- diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index 773a2bc193..68b8e3c881 100644 --- a/package/kernel/modules/other.mk +++ b/package/kernel/modules/other.mk @@ -904,3 +904,20 @@ define KernelPackage/acpi-button/description endef $(eval $(call KernelPackage,acpi-button)) + +define KernelPackage/regmap + SUBMENU:=$(OTHER_MENU) + TITLE:=Generic register map support + KCONFIG:=CONFIG_REGMAP=y \ + CONFIG_REGMAP_SPI \ + CONFIG_REGMAP_I2C + FILES:=$(LINUX_DIR)/drivers/base/regmap/regmap-i2c.ko \ + $(LINUX_DIR)/drivers/base/regmap/regmap-spi.ko + AUTOLOAD:=$(call AutoLoad,10,regmap-i2c regmap-spi) +endef + +define KernelPackage/regmap/description + Generic register map support +endef + +$(eval $(call KernelPackage,regmap))