From: John Crispin Date: Fri, 24 Jul 2015 09:08:57 +0000 (+0000) Subject: kmod-regmap: enable MMIO support X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8c8a558591e6ec8a5b53069bd92b45d424352b5f;p=openwrt%2Fstaging%2Fldir.git kmod-regmap: enable MMIO support This adds MMIO support for kmod-regmap. Signed-off-by: Álvaro Fernández Rojas SVN-Revision: 46451 --- diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index 473f063f55..25b274a722 100644 --- a/package/kernel/linux/modules/other.mk +++ b/package/kernel/linux/modules/other.mk @@ -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