projects
/
openwrt
/
staging
/
aparcar.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84b5b0f
)
kernel: test for kernel version greater 5.13 to fix mmc-spi
author
Nick Hainke
<
[email protected]
>
Mon, 10 Oct 2022 06:04:41 +0000
(08:04 +0200)
committer
Petr Štetiar
<
[email protected]
>
Wed, 19 Oct 2022 19:40:23 +0000
(21:40 +0200)
The of_mmc_spi.o resource is provider agnostic in kernels greater 5.13
and does not depend anymore on CONFIG_OF [0].
[0] - https://github.com/torvalds/linux/commit/
edd602146507532c1714d8428f654b87205f492e
Suggested-by: John Thomson <
[email protected]
>
Signed-off-by: Nick Hainke <
[email protected]
>
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 01dc7dc7e6070512543c0f23bb7c81a9229d51c5..5cdfc3b2b36b6b96efeb4684090e3b0b75b3f800 100644
(file)
--- a/
package/kernel/linux/modules/spi.mk
+++ b/
package/kernel/linux/modules/spi.mk
@@
-15,9
+15,10
@@
define KernelPackage/mmc-spi
CONFIG_SPI=y \
CONFIG_SPI_MASTER=y
FILES:=\
- $(if $(CONFIG_OF),$(LINUX_DIR)/drivers/mmc/host/of_mmc_spi.ko) \
+ $(if $(CONFIG_OF),$(LINUX_DIR)/drivers/mmc/host/
[email protected]
) \
+ $(LINUX_DIR)/drivers/mmc/host/
[email protected]
\
$(LINUX_DIR)/drivers/mmc/host/mmc_spi.ko
- AUTOLOAD:=$(call AutoProbe,$(if $(CONFIG_OF),of_mmc_spi
)
mmc_spi)
+ AUTOLOAD:=$(call AutoProbe,$(if $(CONFIG_OF),of_mmc_spi
@lt5.13)
[email protected]
mmc_spi)
endef
define KernelPackage/mmc-spi/description