[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250319123058.452202-7-ravi@prevas.dk>
Date: Wed, 19 Mar 2025 13:30:56 +0100
From: Rasmus Villemoes <ravi@...vas.dk>
To: Colin Foster <colin.foster@...advantage.com>,
Lee Jones <lee@...nel.org>
Cc: linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org,
Felix Blix Everberg <felix.blix@...vas.dk>,
Rasmus Villemoes <ravi@...vas.dk>
Subject: [PATCH 6/8] mfd: ocelot: correct Kconfig dependency
The ocelot-spi.c file does not actually use the generic spi regmap
support (i.e., it does not call any variant of regmap_init_spi), but
instead implements its own specialized regmap (though of course with
spi as the underlying bus). So it should simply 'select REGMAP'.
Signed-off-by: Rasmus Villemoes <ravi@...vas.dk>
---
drivers/mfd/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index 6b0682af6e32b..4dc894061b62e 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -1049,7 +1049,7 @@ config MFD_OCELOT
tristate "Microsemi Ocelot External Control Support"
depends on SPI_MASTER
select MFD_CORE
- select REGMAP_SPI
+ select REGMAP
help
Ocelot is a family of networking chips that support multiple ethernet
and fibre interfaces. In addition to networking, they contain several
--
2.49.0
Powered by blists - more mailing lists