* [PATCH] mci: Kconfig: MCI_ARASAN needs COMMON_CLK
@ 2026-12-01 11:54 Alexander Shiyan
0 siblings, 0 replies; only message in thread
From: Alexander Shiyan @ 2026-12-01 11:54 UTC (permalink / raw)
To: barebox; +Cc: Alexander Shiyan
The Arasan SDHCI driver registers clocks via the common clock framework
and embeds struct clk_hw and struct clk_ops in its host data. Both types
are only defined with CONFIG_COMMON_CLK, so building the driver without
it fails to compile:
drivers/mci/arasan-sdhci.c:151:20: error: invalid use of undefined type
'struct clk_hw'
All boards that currently enable MCI_ARASAN select COMMON_CLK, so make
the dependency explicit instead of relying on that.
Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com>
---
drivers/mci/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mci/Kconfig b/drivers/mci/Kconfig
index eebf85db9f..7b88672c9d 100644
--- a/drivers/mci/Kconfig
+++ b/drivers/mci/Kconfig
@@ -234,6 +234,7 @@ config MCI_TEGRA
config MCI_ARASAN
bool "Arasan SDHCI Controller"
+ depends on COMMON_CLK
select MCI_SDHCI
help
Enable this to support SD and MMC card read/write on systems with
--
2.54.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-12-01 11:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-01 11:54 [PATCH] mci: Kconfig: MCI_ARASAN needs COMMON_CLK Alexander Shiyan
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.