aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/patches-5.10/304-spi-update-dependency-for-spi-realtek-rtl.patch
diff options
context:
space:
mode:
authorINAGAKI Hiroshi <musashino.open@gmail.com>2021-05-06 19:30:58 +0900
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2021-09-26 00:32:17 +0200
commit0b000cbfe0aa0323bffa855ef8449c0687a4c071 (patch)
treef5030f387d152bc67563ad452058b95edb619ea0 /target/linux/realtek/patches-5.10/304-spi-update-dependency-for-spi-realtek-rtl.patch
parent1651bd9bc61550a7f3b2d25a8ef6c54dc0b61ce3 (diff)
downloadupstream-0b000cbfe0aa0323bffa855ef8449c0687a4c071.tar.gz
upstream-0b000cbfe0aa0323bffa855ef8449c0687a4c071.tar.bz2
upstream-0b000cbfe0aa0323bffa855ef8449c0687a4c071.zip
realtek: backport spi-realtek-rtl driver from 5.12 to 5.10
This patch backports "spi-realtek-rtl" driver to Kernel 5.10 from 5.12. "MACH_REALTEK_RTL" is used as a platform name in upstream, but "RTL838X" is used in OpenWrt, so update the dependency by the additional patch. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Diffstat (limited to 'target/linux/realtek/patches-5.10/304-spi-update-dependency-for-spi-realtek-rtl.patch')
-rw-r--r--target/linux/realtek/patches-5.10/304-spi-update-dependency-for-spi-realtek-rtl.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/realtek/patches-5.10/304-spi-update-dependency-for-spi-realtek-rtl.patch b/target/linux/realtek/patches-5.10/304-spi-update-dependency-for-spi-realtek-rtl.patch
new file mode 100644
index 0000000000..6975bfd228
--- /dev/null
+++ b/target/linux/realtek/patches-5.10/304-spi-update-dependency-for-spi-realtek-rtl.patch
@@ -0,0 +1,11 @@
+--- a/drivers/spi/Makefile
++++ b/drivers/spi/Makefile
+@@ -94,7 +94,7 @@ obj-$(CONFIG_SPI_QCOM_QSPI) += spi-qcom
+ obj-$(CONFIG_SPI_QUP) += spi-qup.o
+ obj-$(CONFIG_SPI_ROCKCHIP) += spi-rockchip.o
+ obj-$(CONFIG_SPI_RB4XX) += spi-rb4xx.o
+-obj-$(CONFIG_MACH_REALTEK_RTL) += spi-realtek-rtl.o
++obj-$(CONFIG_RTL838X) += spi-realtek-rtl.o
+ obj-$(CONFIG_SPI_RPCIF) += spi-rpc-if.o
+ obj-$(CONFIG_SPI_RSPI) += spi-rspi.o
+ obj-$(CONFIG_SPI_S3C24XX) += spi-s3c24xx-hw.o