mirror of https://github.com/hak5/openwrt.git
kmod-regmap: enable MMIO support
This adds MMIO support for kmod-regmap. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 46451lede-17.01
parent
cc42b1049b
commit
8c8a558591
|
@ -692,14 +692,16 @@ define KernelPackage/regmap
|
|||
TITLE:=Generic register map support
|
||||
DEPENDS:=+kmod-lib-lzo +kmod-i2c-core
|
||||
KCONFIG:=CONFIG_REGMAP \
|
||||
CONFIG_REGMAP_MMIO \
|
||||
CONFIG_REGMAP_SPI \
|
||||
CONFIG_REGMAP_I2C \
|
||||
CONFIG_SPI=y
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/drivers/base/regmap/regmap-core.ko \
|
||||
$(LINUX_DIR)/drivers/base/regmap/regmap-i2c.ko \
|
||||
$(LINUX_DIR)/drivers/base/regmap/regmap-mmio.ko \
|
||||
$(if $(CONFIG_SPI),$(LINUX_DIR)/drivers/base/regmap/regmap-spi.ko)
|
||||
AUTOLOAD:=$(call AutoLoad,21,regmap-core regmap-i2c regmap-spi)
|
||||
AUTOLOAD:=$(call AutoLoad,21,regmap-core regmap-i2c regmap-mmio regmap-spi)
|
||||
endef
|
||||
|
||||
define KernelPackage/regmap/description
|
||||
|
|
Loading…
Reference in New Issue