diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-07-19 14:13:45 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-07-19 14:13:45 +0000 |
commit | 7642a4eeaaf61b29337021b9bd1df01a4384a242 (patch) | |
tree | 2c2e6fd5255f2003774839c8f33c4d1661d32962 /package/kernel/linux/modules | |
parent | 85fb0fb29e1ad665afca0775992dfe4ddd8345d7 (diff) | |
download | upstream-7642a4eeaaf61b29337021b9bd1df01a4384a242.tar.gz upstream-7642a4eeaaf61b29337021b9bd1df01a4384a242.tar.bz2 upstream-7642a4eeaaf61b29337021b9bd1df01a4384a242.zip |
kernel: add missing module for mmc-spi
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37440
Diffstat (limited to 'package/kernel/linux/modules')
-rw-r--r-- | package/kernel/linux/modules/spi.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/package/kernel/linux/modules/spi.mk b/package/kernel/linux/modules/spi.mk index 416209825f..435fd74b11 100644 --- a/package/kernel/linux/modules/spi.mk +++ b/package/kernel/linux/modules/spi.mk @@ -14,8 +14,10 @@ define KernelPackage/mmc-spi KCONFIG:=CONFIG_MMC_SPI \ CONFIG_SPI=y \ CONFIG_SPI_MASTER=y - FILES:=$(LINUX_DIR)/drivers/mmc/host/mmc_spi.ko - AUTOLOAD:=$(call AutoLoad,90,mmc_spi) + FILES:=\ + $(if $(CONFIG_OF),$(LINUX_DIR)/drivers/mmc/host/of_mmc_spi.ko) \ + $(LINUX_DIR)/drivers/mmc/host/mmc_spi.ko + AUTOLOAD:=$(call AutoLoad,90,$(if $(CONFIG_OF),of_mmc_spi) mmc_spi) endef define KernelPackage/mmc-spi/description |