summaryrefslogtreecommitdiff
path: root/package/kernel
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-01-05 00:20:05 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-01-05 00:20:05 +0000
commit6408679755dc3f52868384567d51bd9ae0d63389 (patch)
tree93782db841178698bcd906f92b7fa52107b672b1 /package/kernel
parentd1fbf6e81007ddae8ef6829de4916179cbc2450c (diff)
[kernel] fix regmap debloat patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35015 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel')
-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