immortalwrt-mt798x/target/linux/mediatek/patches-5.4/0701-fix-mtk-nfi-driver-dependency.patch
2022-11-16 22:08:49 +08:00

11 lines
253 B
Diff

--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -429,6 +429,7 @@ config SPI_MT65XX
config SPI_MTK_SNFI
tristate "MediaTek SPI NAND interface"
+ depends on MTD
select MTD_SPI_NAND
help
This selects the SPI NAND FLASH interface(SNFI),