linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Remove inline from clock framework function definitions to build the kernel with GCC 4.7
@ 2012-11-15 17:07 Igor Mazanov
  2012-11-15 18:24 ` Jon Hunter
  2012-11-15 18:46 ` Paul Walmsley
  0 siblings, 2 replies; 6+ messages in thread
From: Igor Mazanov @ 2012-11-15 17:07 UTC (permalink / raw)
  To: linux-arm-kernel

  Remove inline from clock framework function definitions to
  build the kernel with GCC 4.7

Signed-off-by: Igor Mazanov <i.mazanov@gmail.com>
---
  include/linux/clk-provider.h |    4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h
index c127315..f9f5e9e 100644
--- a/include/linux/clk-provider.h
+++ b/include/linux/clk-provider.h
@@ -335,8 +335,8 @@ const char *__clk_get_name(struct clk *clk);
  struct clk_hw *__clk_get_hw(struct clk *clk);
  u8 __clk_get_num_parents(struct clk *clk);
  struct clk *__clk_get_parent(struct clk *clk);
-inline int __clk_get_enable_count(struct clk *clk);
-inline int __clk_get_prepare_count(struct clk *clk);
+int __clk_get_enable_count(struct clk *clk);
+int __clk_get_prepare_count(struct clk *clk);
  unsigned long __clk_get_rate(struct clk *clk);
  unsigned long __clk_get_flags(struct clk *clk);
  int __clk_is_enabled(struct clk *clk);
--
1.7.4.4

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

end of thread, other threads:[~2012-11-16 17:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-15 17:07 [PATCH] Remove inline from clock framework function definitions to build the kernel with GCC 4.7 Igor Mazanov
2012-11-15 18:24 ` Jon Hunter
2012-11-15 18:45   ` Paul Walmsley
2012-11-15 18:46 ` Paul Walmsley
2012-11-16 17:16   ` Igor Mazanov
2012-11-16 17:39     ` Mike Turquette

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).