diff options
author | Minkyu Kang <mk7.kang@samsung.com> | 2010-12-27 15:55:48 +0900 |
---|---|---|
committer | Albert Aribaud <albert.aribaud@free.fr> | 2011-02-02 00:54:44 +0100 |
commit | 3c152165c78408e44845f2d08469db887f050e43 (patch) | |
tree | d7c52a543729044292c0d8b97b0ea6b4bcb6048e /arch/arm/include/asm/arch-s5pc1xx | |
parent | 724bd3c50fb14b663fde7478784848405bc93459 (diff) | |
download | u-boot-imx-3c152165c78408e44845f2d08469db887f050e43.zip u-boot-imx-3c152165c78408e44845f2d08469db887f050e43.tar.gz u-boot-imx-3c152165c78408e44845f2d08469db887f050e43.tar.bz2 |
armv7: s5pc1xx: don't use function pointer for clock functions
Because of the bss area is cleared after relocation, we've lost pointers.
This patch fixed it.
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Diffstat (limited to 'arch/arm/include/asm/arch-s5pc1xx')
-rw-r--r-- | arch/arm/include/asm/arch-s5pc1xx/clk.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/arch/arm/include/asm/arch-s5pc1xx/clk.h b/arch/arm/include/asm/arch-s5pc1xx/clk.h index 3488eb7..4c389c1 100644 --- a/arch/arm/include/asm/arch-s5pc1xx/clk.h +++ b/arch/arm/include/asm/arch-s5pc1xx/clk.h @@ -29,11 +29,9 @@ #define HPLL 3 #define VPLL 4 -void s5p_clock_init(void); - -extern unsigned long (*get_pll_clk)(int pllreg); -extern unsigned long (*get_arm_clk)(void); -extern unsigned long (*get_pwm_clk)(void); -extern unsigned long (*get_uart_clk)(int dev_index); +unsigned long get_pll_clk(int pllreg); +unsigned long get_arm_clk(void); +unsigned long get_pwm_clk(void); +unsigned long get_uart_clk(int dev_index); #endif |