aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/generic.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-at91/generic.h')
-rw-r--r--arch/arm/mach-at91/generic.h6
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;
31extern struct sys_timer at91x40_timer; 31extern struct sys_timer at91x40_timer;
32 32
33 /* Clocks */ 33 /* Clocks */
34extern 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);
44extern void __init at91sam9rl_set_console_clock(int id); 43extern void __init at91sam9rl_set_console_clock(int id);
45extern void __init at91sam9g45_set_console_clock(int id); 44extern void __init at91sam9g45_set_console_clock(int id);
46extern void __init at91cap9_set_console_clock(int id); 45extern void __init at91cap9_set_console_clock(int id);
46#ifdef CONFIG_AT91_PMC_UNIT
47extern int __init at91_clock_init(unsigned long main_clock);
48#else
49static int inline at91_clock_init(unsigned long main_clock) { return 0; }
50#endif
47struct device; 51struct device;
48 52
49 /* Power Management */ 53 /* Power Management */