summaryrefslogtreecommitdiff
path: root/drivers/clk/stm32/clk-stm32-core.h
diff options
context:
space:
mode:
authorGabriel Fernandez <gabriel.fernandez@foss.st.com>2024-05-29 15:13:08 +0200
committerStephen Boyd <sboyd@kernel.org>2024-06-03 14:10:46 -0700
commit60f81bfc9889770c6fcc5722b376d0d7ca5d68d1 (patch)
treeb68eaf78a2c2643005af51a06f76f79ff3fef1e4 /drivers/clk/stm32/clk-stm32-core.h
parent1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0 (diff)
clk: stm32mp2: use of STM32 access controller
Use an STM32 access controller to filter the registration of clocks. If a clock is used by the security world, then it must not registered. Signed-off-by: Gabriel Fernandez <gabriel.fernandez@foss.st.com> Link: https://lore.kernel.org/r/20240529131310.260954-2-gabriel.fernandez@foss.st.com Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/stm32/clk-stm32-core.h')
-rw-r--r--drivers/clk/stm32/clk-stm32-core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/stm32/clk-stm32-core.h b/drivers/clk/stm32/clk-stm32-core.h
index bb5aa19a792d..4be103710e12 100644
--- a/drivers/clk/stm32/clk-stm32-core.h
+++ b/drivers/clk/stm32/clk-stm32-core.h
@@ -71,7 +71,7 @@ struct stm32_rcc_match_data {
unsigned int maxbinding;
struct clk_stm32_clock_data *clock_data;
struct clk_stm32_reset_data *reset_data;
- int (*check_security)(void __iomem *base,
+ int (*check_security)(struct device_node *np, void __iomem *base,
const struct clock_config *cfg);
int (*multi_mux)(void __iomem *base, const struct clock_config *cfg);
};