linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm: arch_timer: add missing inline in stub function
@ 2013-02-11 23:18 Olof Johansson
  2013-02-12  9:24 ` Marc Zyngier
  0 siblings, 1 reply; 2+ messages in thread
From: Olof Johansson @ 2013-02-11 23:18 UTC (permalink / raw)
  To: linux-arm-kernel

Fixes:

In file included from arch/arm/include/asm/arch_timer.h:10:0,
                 from arch/arm/mach-shmobile/timer.c:23:
include/clocksource/arm_arch_timer.h:56:28: warning: 'arch_timer_get_timecounter' defined but not used [-Wunused-function]

Signed-off-by: Olof Johansson <olof@lixom.net>
---

Will, Mark, Marc,

I've applied this on next/virt already since it started spewing pretty heavily
on a lot of defconfig builds. Just posting FYI.

 include/clocksource/arm_arch_timer.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/clocksource/arm_arch_timer.h b/include/clocksource/arm_arch_timer.h
index b61f996..2603267 100644
--- a/include/clocksource/arm_arch_timer.h
+++ b/include/clocksource/arm_arch_timer.h
@@ -53,7 +53,7 @@ static inline u64 arch_timer_read_counter(void)
 	return 0;
 }
 
-static struct timecounter *arch_timer_get_timecounter(void)
+static inline struct timecounter *arch_timer_get_timecounter(void)
 {
 	return NULL;
 }
-- 
1.8.1.192.gc4361b8

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-02-12  9:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-11 23:18 [PATCH] arm: arch_timer: add missing inline in stub function Olof Johansson
2013-02-12  9:24 ` Marc Zyngier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).