aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/kernel/modules/other.mk11
1 files changed, 6 insertions, 5 deletions
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk
index 2374d191a9..1c8a3dcfef 100644
--- a/package/kernel/modules/other.mk
+++ b/package/kernel/modules/other.mk
@@ -698,15 +698,16 @@ $(eval $(call KernelPackage,acpi-button))
define KernelPackage/regmap
SUBMENU:=$(OTHER_MENU)
TITLE:=Generic register map support
- DEPENDS:=+kmod-lib-lzo
- KCONFIG:=CONFIG_REGMAP=y \
+ DEPENDS:=+kmod-lib-lzo +kmod-i2c-core
+ KCONFIG:=CONFIG_REGMAP \
CONFIG_REGMAP_SPI \
- CONFIG_REGMAP_I2C
+ CONFIG_REGMAP_I2C \
+ CONFIG_SPI=y
FILES:= \
- $(LINUX_DIR)/drivers/base/regmap/regmap.ko \
+ $(LINUX_DIR)/drivers/base/regmap/regmap-core.ko \
$(LINUX_DIR)/drivers/base/regmap/regmap-i2c.ko \
$(LINUX_DIR)/drivers/base/regmap/regmap-spi.ko
- AUTOLOAD:=$(call AutoLoad,10,regmap regmap-i2c regmap-spi)
+ AUTOLOAD:=$(call AutoLoad,10,regmap-core regmap-i2c regmap-spi)
endef
define KernelPackage/regmap/description