aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorIgor Mazanov <[email protected]>2012-11-15 21:07:00 +0400
committerMike Turquette <[email protected]>2012-11-15 11:38:34 -0800
commit93532c8a4890871aa0d84dd91b80dad9f58542e0 (patch)
tree548718307a2cd396cd40c4d70157af5a8e3de6a2 /lib/string_helpers.c
parent77b67063bb6bce6d475e910d3b886a606d0d91f7 (diff)
clk: remove inline usage from clk-provider.h
Users of GCC 4.7 have reported compiler errors due to having inline applied to function declarations in clk-provider.h. The definitions exist in drivers/clk/clk.c. An example error: In file included from arch/arm/mach-omap2/clockdomain.c:25:0: arch/arm/mach-omap2/clockdomain.c: In function ‘clkdm_clk_disable’: include/linux/clk-provider.h:338:12: error: inlining failed in call to always_inline ‘__clk_get_enable_count’: function body not available arch/arm/mach-omap2/clockdomain.c:1001:28: error: called from here make[1]: *** [arch/arm/mach-omap2/clockdomain.o] Error 1 make: *** [arch/arm/mach-omap2] Error 2 This patch removes the use of inline from include/linux/clk-provider.h but keeps the function definitions in drivers/clk/clk.c as inlined since they are one-liners. Signed-off-by: Igor Mazanov <[email protected]> Acked-by: Paul Walmsley <[email protected]> Signed-off-by: Mike Turquette <[email protected]> [[email protected]: improved subject, added changelog]
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions