diff options
Diffstat (limited to 'arch/arm/mach-at91/generic.h')
-rw-r--r-- | arch/arm/mach-at91/generic.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/mach-at91/generic.h b/arch/arm/mach-at91/generic.h index ce113900258e..a9d6ed4dbbc8 100644 --- a/arch/arm/mach-at91/generic.h +++ b/arch/arm/mach-at91/generic.h | |||
@@ -31,7 +31,6 @@ extern struct sys_timer at91sam926x_timer; | |||
31 | extern struct sys_timer at91x40_timer; | 31 | extern struct sys_timer at91x40_timer; |
32 | 32 | ||
33 | /* Clocks */ | 33 | /* Clocks */ |
34 | extern int __init at91_clock_init(unsigned long main_clock); | ||
35 | /* | 34 | /* |
36 | * function to specify the clock of the default console. As we do not | 35 | * function to specify the clock of the default console. As we do not |
37 | * use the device/driver bus, the dev_name is not intialize. So we need | 36 | * use the device/driver bus, the dev_name is not intialize. So we need |
@@ -44,6 +43,11 @@ extern void __init at91sam9263_set_console_clock(int id); | |||
44 | extern void __init at91sam9rl_set_console_clock(int id); | 43 | extern void __init at91sam9rl_set_console_clock(int id); |
45 | extern void __init at91sam9g45_set_console_clock(int id); | 44 | extern void __init at91sam9g45_set_console_clock(int id); |
46 | extern void __init at91cap9_set_console_clock(int id); | 45 | extern void __init at91cap9_set_console_clock(int id); |
46 | #ifdef CONFIG_AT91_PMC_UNIT | ||
47 | extern int __init at91_clock_init(unsigned long main_clock); | ||
48 | #else | ||
49 | static int inline at91_clock_init(unsigned long main_clock) { return 0; } | ||
50 | #endif | ||
47 | struct device; | 51 | struct device; |
48 | 52 | ||
49 | /* Power Management */ | 53 | /* Power Management */ |