From: Miquel Raynal Date: Tue, 26 May 2026 14:56:27 +0000 (+0200) Subject: mtd: spi-nor: Drop duplicate Kconfig dependency X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=a6470e2162e9c3779a4bd6ff3bed1b81d796e46e;p=thirdparty%2Flinux.git mtd: spi-nor: Drop duplicate Kconfig dependency I do not think the MTD dependency is needed twice. This is likely a duplicate coming from a former rebase when the spi-nor core got cleaned up a while ago. Remove the extra line. Fixes: b35b9a10362d ("mtd: spi-nor: Move m25p80 code in spi-nor.c") Signed-off-by: Miquel Raynal Reviewed-by: Michael Walle Signed-off-by: Pratyush Yadav --- diff --git a/drivers/mtd/spi-nor/Kconfig b/drivers/mtd/spi-nor/Kconfig index 24cd25de2b8b..fd05a24d64a9 100644 --- a/drivers/mtd/spi-nor/Kconfig +++ b/drivers/mtd/spi-nor/Kconfig @@ -1,7 +1,6 @@ # SPDX-License-Identifier: GPL-2.0-only menuconfig MTD_SPI_NOR tristate "SPI NOR device support" - depends on MTD depends on MTD && SPI_MASTER select SPI_MEM help