aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap2/timer.c')
-rw-r--r--arch/arm/mach-omap2/timer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-omap2/timer.c b/arch/arm/mach-omap2/timer.c
index 7016637b531c..06e141543623 100644
--- a/arch/arm/mach-omap2/timer.c
+++ b/arch/arm/mach-omap2/timer.c
@@ -190,7 +190,7 @@ static struct device_node * __init omap_get_timer_dt(struct of_device_id *match,
190 * kernel registering these devices remove them dynamically from the device 190 * kernel registering these devices remove them dynamically from the device
191 * tree on boot. 191 * tree on boot.
192 */ 192 */
193void __init omap_dmtimer_init(void) 193static void __init omap_dmtimer_init(void)
194{ 194{
195 struct device_node *np; 195 struct device_node *np;
196 196
@@ -210,7 +210,7 @@ void __init omap_dmtimer_init(void)
210 * 210 *
211 * Get the timer errata flags that are specific to the OMAP device being used. 211 * Get the timer errata flags that are specific to the OMAP device being used.
212 */ 212 */
213u32 __init omap_dm_timer_get_errata(void) 213static u32 __init omap_dm_timer_get_errata(void)
214{ 214{
215 if (cpu_is_omap24xx()) 215 if (cpu_is_omap24xx())
216 return 0; 216 return 0;
@@ -392,7 +392,7 @@ static struct of_device_id omap_counter_match[] __initdata = {
392}; 392};
393 393
394/* Setup free-running counter for clocksource */ 394/* Setup free-running counter for clocksource */
395static int __init omap2_sync32k_clocksource_init(void) 395static int __init __maybe_unused omap2_sync32k_clocksource_init(void)
396{ 396{
397 int ret; 397 int ret;
398 struct device_node *np = NULL; 398 struct device_node *np = NULL;