From ca2ac5cc9548e954b295de16158a5a7e3b97873b Mon Sep 17 00:00:00 2001 From: Andrew Lunn Date: Mon, 14 May 2012 11:28:43 +0200 Subject: Dove: Fix Section mismatch warnings Add missing __init markups to GPIO and timer functions. Signed-off-by: Andrew Lunn --- arch/arm/mach-dove/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/arm/mach-dove/common.c') diff --git a/arch/arm/mach-dove/common.c b/arch/arm/mach-dove/common.c index bda7aca04ca0..42ab1e7c4ecc 100644 --- a/arch/arm/mach-dove/common.c +++ b/arch/arm/mach-dove/common.c @@ -181,7 +181,7 @@ static int get_tclk(void) return 166666667; } -static void dove_timer_init(void) +static void __init dove_timer_init(void) { orion_time_init(BRIDGE_VIRT_BASE, BRIDGE_INT_TIMER1_CLR, IRQ_DOVE_BRIDGE, get_tclk()); -- cgit v1.2.3