kernel: exclude regmap-spi.ko if SPI support cannot be selected
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 38245
This commit is contained in:
parent
3e2aa6105c
commit
e2420239ae
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue