aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-07-24 19:43:06 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-07-24 19:43:06 +0000
commit2f3ca5c6c51b44b352ded60901e0bc8e39411bc9 (patch)
tree9427f235ad9700804c12ae80d6733b73bc793913 /package
parent33dbc834e1c3d504af002895aae99865ac9f3909 (diff)
downloadupstream-2f3ca5c6c51b44b352ded60901e0bc8e39411bc9.tar.gz
upstream-2f3ca5c6c51b44b352ded60901e0bc8e39411bc9.tar.bz2
upstream-2f3ca5c6c51b44b352ded60901e0bc8e39411bc9.zip
[package] add kmod-regmap including both i2c and spi modules
This is required for quite SoC sound support git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32800 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/kernel/modules/other.mk17
1 files changed, 17 insertions, 0 deletions
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))