diff options
author | Patrice Chotard <patrice.chotard@st.com> | 2017-07-18 07:29:03 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-07-26 15:26:53 (GMT) |
commit | 704e954ceecbb02a6173ab9fe51b75c03c620ba2 (patch) | |
tree | 6c690ccbf6517d823755eb6e07274b01d9a1cc48 | |
parent | fa87abb6b67d21860b95f4c8a5d1c14008f7be46 (diff) | |
download | u-boot-704e954ceecbb02a6173ab9fe51b75c03c620ba2.tar.xz |
clk: stm32f7: add static for configure_clocks()
Also remove its declaration from stm32.h which
is no more needed.
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Acked-by: Vikas MANOCHA <vikas.manocha@st.com>
-rw-r--r-- | arch/arm/include/asm/arch-stm32f7/stm32.h | 1 | ||||
-rw-r--r-- | drivers/clk/clk_stm32f7.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/include/asm/arch-stm32f7/stm32.h b/arch/arm/include/asm/arch-stm32f7/stm32.h index 14e3398..d4c834e 100644 --- a/arch/arm/include/asm/arch-stm32f7/stm32.h +++ b/arch/arm/include/asm/arch-stm32f7/stm32.h @@ -114,7 +114,6 @@ struct stm32_pwr_regs { }; #define STM32_PWR ((struct stm32_pwr_regs *)PWR_BASE) -int configure_clocks(void); unsigned long clock_get(enum clock clck); void stm32_flash_latency_cfg(int latency); diff --git a/drivers/clk/clk_stm32f7.c b/drivers/clk/clk_stm32f7.c index fcdc3c0..aff8ad3 100644 --- a/drivers/clk/clk_stm32f7.c +++ b/drivers/clk/clk_stm32f7.c @@ -104,7 +104,7 @@ struct pll_psc sys_pll_psc = { #endif #endif -int configure_clocks(void) +static int configure_clocks(void) { /* Reset RCC configuration */ setbits_le32(&STM32_RCC->cr, RCC_CR_HSION); |