diff options
author | John Crispin <blogic@openwrt.org> | 2013-01-05 00:20:05 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2013-01-05 00:20:05 +0000 |
commit | 3dad88cbb5f0f786b75babce487b4b528d872d1d (patch) | |
tree | 93782db841178698bcd906f92b7fa52107b672b1 /package/kernel | |
parent | 0e41af577f6792aeabb0913f71a19cd61c80402d (diff) | |
download | master-187ad058-3dad88cbb5f0f786b75babce487b4b528d872d1d.tar.gz master-187ad058-3dad88cbb5f0f786b75babce487b4b528d872d1d.tar.bz2 master-187ad058-3dad88cbb5f0f786b75babce487b4b528d872d1d.zip |
[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.mk | 11 |
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 |