aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-01-05 00:20:05 +0000
committerJohn Crispin <john@openwrt.org>2013-01-05 00:20:05 +0000
commite6aac19237d1a480983fa486f9d8e3bee317d0f5 (patch)
tree1516d45ea4c47f63b6c77894ab95dc5443f6b24e /package/kernel
parentba21190710c33527351342956fa3ebe42cb5c4c9 (diff)
downloadupstream-e6aac19237d1a480983fa486f9d8e3bee317d0f5.tar.gz
upstream-e6aac19237d1a480983fa486f9d8e3bee317d0f5.tar.bz2
upstream-e6aac19237d1a480983fa486f9d8e3bee317d0f5.zip
fix regmap debloat patch
SVN-Revision: 35015
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