mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 01:37:10 +02:00
[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
This commit is contained in:
parent
a1975f4fba
commit
a01946d1a2
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user