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>
		
			
				
	
	
		
			12 lines
		
	
	
		
			471 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			471 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
--- 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
 |