1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-19 05:58:53 +02:00

add kmod-regmap including both i2c and spi modules

This is required for quite SoC sound support

SVN-Revision: 32800
This commit is contained in:
Florian Fainelli 2012-07-24 19:43:06 +00:00
parent 598ef2a2e0
commit 3f81add464

@ -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))