From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1CEA946EF6C; Tue, 21 Jul 2026 19:21:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784661708; cv=none; b=c5abXyPjor6TtO9tePRtEoRrLYDkJt38d1MlVxulcRGzL2rksKIpCufPCpqCADtTYjUgigiWTFEHE2AMGo7PQr/Vi6pnPJUwlNxUPUK+AL9e6CJVnFjTd+YiK1+siTJm/KdWcplu7nlprXb2YydXHtxtL7CmR4QYoKHslA0zedI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784661708; c=relaxed/simple; bh=/QPYA0IOl1K8IpCCt5yL0ySZHdlC/4otC+vsc3GSAsg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=oCb4lOe0Yb2Jmei4/d/VJZvTyhAlBCOvh2zX0cpBhirltDuAsYRP8UG4fKd6vZ0JAGVGL5y6AIu/75XlxtjwRkbmo7AqS6RUx5ytxNv5g//anFZ5rJ3fC4njlZBdETAKJ24AIoDjJiJQvkhv3cOBQCLOKJ4ABhf0JNoonsL3vSU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=gdOqzMZ5; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="gdOqzMZ5" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 82ADE1F000E9; Tue, 21 Jul 2026 19:21:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784661707; bh=cF7k2Sr8r3eBJZr4qeb5IhMSse1T65Vp1YsfAbmz3ak=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=gdOqzMZ5UfVFNYpoZc94bPacSWsNcVX6vByfFD4uGMUrPMvtAEd1fOl/3+5ZJAX0Q pLRdqdpY9QI7oIWiHh2dF0MppqAcrNjajldX4vj693ZEXfkCH1X205Qs3bq3+zzUaA i3CORuI2HXL5ZZeKazCJzcT7sTMH1Wb4lwwga5Xk= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Miquel Raynal , Michael Walle , Pratyush Yadav , Sasha Levin Subject: [PATCH 6.12 0167/1276] mtd: spi-nor: Drop duplicate Kconfig dependency Date: Tue, 21 Jul 2026 17:10:10 +0200 Message-ID: <20260721152449.836002272@linuxfoundation.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260721152446.065700225@linuxfoundation.org> References: <20260721152446.065700225@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.12-stable review patch. If anyone has any objections, please let me know. ------------------ From: Miquel Raynal [ Upstream commit a6470e2162e9c3779a4bd6ff3bed1b81d796e46e ] 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 Signed-off-by: Sasha Levin --- 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 24cd25de2b8b71..fd05a24d64a96f 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.53.0