diff options
author | Magnus Damm <damm@opensource.se> | 2010-05-20 10:45:03 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-05-22 04:22:56 -0400 |
commit | 83ca5c87cb4bac32f8e0cf7f0c640bfcf310bb5d (patch) | |
tree | 7f7c9b1940670f67cdbfe3c74d303275ec0dc5bf /arch/arm/mach-shmobile/include/mach | |
parent | 33c9607acf159da986c85983e1b58b739bcb46c2 (diff) |
ARM: mach-shmobile: sh7372 clock fixes
Fixes for the sh7372 clock framework:
- remove unused #include <linux/platform_device.h>
- add sh7372 prefix to user modifiable root clocks
- put modifiable root clock prototypes in header file
- fix off-by-one id error on VEU MSTP clocks
- make arrays static
Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/arm/mach-shmobile/include/mach')
-rw-r--r-- | arch/arm/mach-shmobile/include/mach/common.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-shmobile/include/mach/common.h b/arch/arm/mach-shmobile/include/mach/common.h index 780bd65140da..38e9a2d275f0 100644 --- a/arch/arm/mach-shmobile/include/mach/common.h +++ b/arch/arm/mach-shmobile/include/mach/common.h | |||
@@ -3,7 +3,7 @@ | |||
3 | 3 | ||
4 | extern struct sys_timer shmobile_timer; | 4 | extern struct sys_timer shmobile_timer; |
5 | extern void shmobile_setup_console(void); | 5 | extern void shmobile_setup_console(void); |
6 | 6 | struct clk; | |
7 | extern int clk_init(void); | 7 | extern int clk_init(void); |
8 | 8 | ||
9 | extern void sh7367_init_irq(void); | 9 | extern void sh7367_init_irq(void); |
@@ -22,5 +22,7 @@ extern void sh7372_add_early_devices(void); | |||
22 | extern void sh7372_add_standard_devices(void); | 22 | extern void sh7372_add_standard_devices(void); |
23 | extern void sh7372_clock_init(void); | 23 | extern void sh7372_clock_init(void); |
24 | extern void sh7372_pinmux_init(void); | 24 | extern void sh7372_pinmux_init(void); |
25 | extern struct clk sh7372_extal1_clk; | ||
26 | extern struct clk sh7372_extal2_clk; | ||
25 | 27 | ||
26 | #endif /* __ARCH_MACH_COMMON_H */ | 28 | #endif /* __ARCH_MACH_COMMON_H */ |