projects
/
openwrt
/
staging
/
robimarko.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85fb0fb
)
kernel: add missing module for mmc-spi
author
Felix Fietkau
<nbd@openwrt.org>
Fri, 19 Jul 2013 14:13:45 +0000
(14:13 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Fri, 19 Jul 2013 14:13:45 +0000
(14:13 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37440
package/kernel/linux/modules/spi.mk
patch
|
blob
|
history
diff --git
a/package/kernel/linux/modules/spi.mk
b/package/kernel/linux/modules/spi.mk
index 416209825f57cbf1857d1718da3925561ec50465..435fd74b11c5b0b15dc2a39173207da92803efca 100644
(file)
--- 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