diff options
author | Adam Ford <aford173@gmail.com> | 2022-03-05 08:25:23 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-03-10 13:57:04 -0500 |
commit | 901ff692d17b8368ab29281b82c03660dca1a03b (patch) | |
tree | 418e1e6edc8c376de20708d16f1b04cf0a4d944f /arch | |
parent | 6553f154f2243a2ad5568e3581953a67d835db18 (diff) | |
download | u-boot-901ff692d17b8368ab29281b82c03660dca1a03b.tar.gz |
ARM: mach-omap2: omap3: Make clock functions static
get_osc_clk_speed and get_sys_clkin_sel are only used in
one file. Make them static.
Tested on OMAP3530, DM3730, AM3517.
Signed-off-by: Adam Ford <aford173@gmail.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-omap2/omap3/clock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/omap3/clock.c b/arch/arm/mach-omap2/omap3/clock.c index 71f73492c6c..13685e0567a 100644 --- a/arch/arm/mach-omap2/omap3/clock.c +++ b/arch/arm/mach-omap2/omap3/clock.c @@ -23,7 +23,7 @@ * get_sys_clk_speed() - determine reference oscillator speed * based on known 32kHz clock and gptimer. *****************************************************************************/ -u32 get_osc_clk_speed(void) +static u32 get_osc_clk_speed(void) { u32 start, cstart, cend, cdiff, cdiv, val; struct prcm *prcm_base = (struct prcm *)PRCM_BASE; @@ -90,7 +90,7 @@ u32 get_osc_clk_speed(void) * get_sys_clkin_sel() - returns the sys_clkin_sel field value based on * input oscillator clock frequency. *****************************************************************************/ -void get_sys_clkin_sel(u32 osc_clk, u32 *sys_clkin_sel) +static void get_sys_clkin_sel(u32 osc_clk, u32 *sys_clkin_sel) { switch(osc_clk) { case S38_4M: |