kernel: exclude regmap-spi.ko if SPI support cannot be selected

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38245
owl
Felix Fietkau 2013-09-27 21:12:15 +00:00
parent 3e2aa6105c
commit e2420239ae
1 changed files with 1 additions and 1 deletions

View File

@ -634,7 +634,7 @@ define KernelPackage/regmap
FILES:= \
$(LINUX_DIR)/drivers/base/regmap/regmap-core.ko \
$(LINUX_DIR)/drivers/base/regmap/regmap-i2c.ko \
$(LINUX_DIR)/drivers/base/regmap/regmap-spi.ko
$(if $(CONFIG_SPI),$(LINUX_DIR)/drivers/base/regmap/regmap-spi.ko)
AUTOLOAD:=$(call AutoLoad,21,regmap-core regmap-i2c regmap-spi)
endef