mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-02-26 14:15:22 +01:00
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>
This commit is contained in:
parent
fa87abb6b6
commit
704e954cee
2 changed files with 1 additions and 2 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue