diff options
author | Manish Badarkhe <badarkhe.manish@gmail.com> | 2014-04-11 08:02:04 +0530 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-04-17 17:24:40 -0400 |
commit | 893b92f86f7f752480e7291023abf26da3f88ba8 (patch) | |
tree | a462a69a8545cf4dab4318d59e83357e38122222 /arch/arm/cpu | |
parent | d0e6d34d7cca00cb61707826b52837cc7c43da46 (diff) | |
download | u-boot-imx-893b92f86f7f752480e7291023abf26da3f88ba8.zip u-boot-imx-893b92f86f7f752480e7291023abf26da3f88ba8.tar.gz u-boot-imx-893b92f86f7f752480e7291023abf26da3f88ba8.tar.bz2 |
arm, da850: staticize funtions
Make funtions static which are locally used in file
and remove the declaration from header file.
Signed-off-by: Manish Badarkhe <badarkhe.manish@gmail.com>
Diffstat (limited to 'arch/arm/cpu')
-rw-r--r-- | arch/arm/cpu/arm926ejs/davinci/da850_lowlevel.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/cpu/arm926ejs/davinci/da850_lowlevel.c b/arch/arm/cpu/arm926ejs/davinci/da850_lowlevel.c index a3bbbb8..b91e948 100644 --- a/arch/arm/cpu/arm926ejs/davinci/da850_lowlevel.c +++ b/arch/arm/cpu/arm926ejs/davinci/da850_lowlevel.c @@ -26,7 +26,7 @@ void davinci_enable_uart0(void) } #if defined(CONFIG_SYS_DA850_PLL_INIT) -void da850_waitloop(unsigned long loopcnt) +static void da850_waitloop(unsigned long loopcnt) { unsigned long i; @@ -34,7 +34,7 @@ void da850_waitloop(unsigned long loopcnt) asm(" NOP"); } -int da850_pll_init(struct davinci_pllc_regs *reg, unsigned long pllmult) +static int da850_pll_init(struct davinci_pllc_regs *reg, unsigned long pllmult) { if (reg == davinci_pllc0_regs) /* Unlock PLL registers. */ @@ -160,7 +160,7 @@ int da850_pll_init(struct davinci_pllc_regs *reg, unsigned long pllmult) #endif /* CONFIG_SYS_DA850_PLL_INIT */ #if defined(CONFIG_SYS_DA850_DDR_INIT) -int da850_ddr_setup(void) +static int da850_ddr_setup(void) { unsigned long tmp; |