]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
mtd: spi-nor: Drop duplicate Kconfig dependency
authorMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 26 May 2026 14:56:27 +0000 (16:56 +0200)
committerPratyush Yadav <pratyush@kernel.org>
Tue, 26 May 2026 15:21:03 +0000 (17:21 +0200)
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>
Signed-off-by: Pratyush Yadav <pratyush@kernel.org>
drivers/mtd/spi-nor/Kconfig

index 24cd25de2b8b719f875047e28b4629733e1ecc69..fd05a24d64a96f55c9446b3fbc38115ba9e49f16 100644 (file)
@@ -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