[PATCH v2 01/27] mtd: spi-nor: Drop duplicate Kconfig dependency

Miquel Raynal posted 27 patches 1 month ago
[PATCH v2 01/27] mtd: spi-nor: Drop duplicate Kconfig dependency
Posted by Miquel Raynal 1 month ago
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 <miquel.raynal@bootlin.com>
---
 drivers/mtd/spi-nor/Kconfig | 1 -
 1 file changed, 1 deletion(-)

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

-- 
2.51.1
Re: [PATCH v2 01/27] mtd: spi-nor: Drop duplicate Kconfig dependency
Posted by Michael Walle 18 hours ago
On Thu Jan 8, 2026 at 5:57 PM CET, Miquel Raynal wrote:
> 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 <miquel.raynal@bootlin.com>

Reviewed-by: Michael Walle <mwalle@kernel.org>