kmod-regmap: enable MMIO support
authorJohn Crispin <john@openwrt.org>
Fri, 24 Jul 2015 09:08:57 +0000 (09:08 +0000)
committerJohn Crispin <john@openwrt.org>
Fri, 24 Jul 2015 09:08:57 +0000 (09:08 +0000)
This adds MMIO support for kmod-regmap.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 46451

package/kernel/linux/modules/other.mk

index 473f063f55e5070e2fab3a7666c30e4c1bcd2087..25b274a722676c70bf1a08accdb3c5f79a10ce78 100644 (file)
@@ -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