diff options
author | Vladimir Zapolskiy <vz@mleia.com> | 2016-04-17 21:05:25 -0400 |
---|---|---|
committer | Vladimir Zapolskiy <vz@mleia.com> | 2016-04-27 17:45:01 -0400 |
commit | d82b4b0a5ebeb55c3b88e49b38135a847736e6b5 (patch) | |
tree | 37d78539fb3eee32135b7943d3b17dcfc742ef44 /arch/arm/mach-lpc32xx/common.h | |
parent | 715552aa30ffe3bd776bb7635056f6622a29133d (diff) |
ARM: lpc32xx: remove leftovers of legacy clock source and provider drivers
After switching the platform to common clock framework there is no
more need to keep dead code in arch/arm/mach-lpc32xx, which glued
legacy clock source and clock provider drivers, remove the leftovers.
Acked-by: Sylvain Lemieux <slemieux.tyco@gmail.com>
Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Diffstat (limited to 'arch/arm/mach-lpc32xx/common.h')
-rw-r--r-- | arch/arm/mach-lpc32xx/common.h | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/arch/arm/mach-lpc32xx/common.h b/arch/arm/mach-lpc32xx/common.h index 9b5ae42d3a6f..30c9e64fc65b 100644 --- a/arch/arm/mach-lpc32xx/common.h +++ b/arch/arm/mach-lpc32xx/common.h | |||
@@ -19,36 +19,15 @@ | |||
19 | #ifndef __LPC32XX_COMMON_H | 19 | #ifndef __LPC32XX_COMMON_H |
20 | #define __LPC32XX_COMMON_H | 20 | #define __LPC32XX_COMMON_H |
21 | 21 | ||
22 | #include <mach/board.h> | 22 | #include <linux/init.h> |
23 | #include <linux/platform_device.h> | ||
24 | 23 | ||
25 | /* | 24 | /* |
26 | * Other arch specific structures and functions | 25 | * Other arch specific structures and functions |
27 | */ | 26 | */ |
28 | extern void lpc32xx_timer_init(void); | ||
29 | extern void __init lpc32xx_init_irq(void); | 27 | extern void __init lpc32xx_init_irq(void); |
30 | extern void __init lpc32xx_map_io(void); | 28 | extern void __init lpc32xx_map_io(void); |
31 | extern void __init lpc32xx_serial_init(void); | 29 | extern void __init lpc32xx_serial_init(void); |
32 | 30 | ||
33 | |||
34 | /* | ||
35 | * Structure used for setting up and querying the PLLS | ||
36 | */ | ||
37 | struct clk_pll_setup { | ||
38 | int analog_on; | ||
39 | int cco_bypass_b15; | ||
40 | int direct_output_b14; | ||
41 | int fdbk_div_ctrl_b13; | ||
42 | int pll_p; | ||
43 | int pll_n; | ||
44 | u32 pll_m; | ||
45 | }; | ||
46 | |||
47 | extern int clk_is_sysclk_mainosc(void); | ||
48 | extern u32 clk_check_pll_setup(u32 ifreq, struct clk_pll_setup *pllsetup); | ||
49 | extern u32 clk_get_pllrate_from_reg(u32 inputclk, u32 regval); | ||
50 | extern u32 clk_get_pclk_div(void); | ||
51 | |||
52 | /* | 31 | /* |
53 | * Returns the LPC32xx unique 128-bit chip ID | 32 | * Returns the LPC32xx unique 128-bit chip ID |
54 | */ | 33 | */ |