clocksource/drivers/sp804: Add static for functions such as sp804_clockevents_init()
[linux-2.6-microblaze.git] / drivers / clocksource / timer-sp804.c
index 6e8ad4a..db5330c 100644 (file)
@@ -117,10 +117,10 @@ static u64 notrace sp804_read(void)
        return ~readl_relaxed(sched_clkevt->value);
 }
 
-int __init sp804_clocksource_and_sched_clock_init(void __iomem *base,
-                                                 const char *name,
-                                                 struct clk *clk,
-                                                 int use_sched_clock)
+static int __init sp804_clocksource_and_sched_clock_init(void __iomem *base,
+                                                        const char *name,
+                                                        struct clk *clk,
+                                                        int use_sched_clock)
 {
        long rate;
        struct sp804_clkevt *clkevt;
@@ -216,8 +216,8 @@ static struct clock_event_device sp804_clockevent = {
        .rating                 = 300,
 };
 
-int __init sp804_clockevents_init(void __iomem *base, unsigned int irq,
-                                 struct clk *clk, const char *name)
+static int __init sp804_clockevents_init(void __iomem *base, unsigned int irq,
+                                        struct clk *clk, const char *name)
 {
        struct clock_event_device *evt = &sp804_clockevent;
        long rate;