]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: shmobile: Add forward declaration of struct clk to silence warning
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 14 May 2014 01:10:16 +0000 (03:10 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Wed, 14 May 2014 02:42:55 +0000 (11:42 +0900)
arch/arm/mach-shmobile/board-genmai-reference.c:23:0:
arch/arm/mach-shmobile/include/mach/clock.h:19:54: warning: 'struct clk' declared inside parameter list [enabled by default]
arch/arm/mach-shmobile/include/mach/clock.h:19:54: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/include/mach/clock.h

index 9a93cf924b9cf09ef28f1ea4d25451025ccabed2..31b6417463e651f87ab51ec96a9d36a635a50d7b 100644 (file)
@@ -16,6 +16,7 @@ void shmobile_clk_workaround(const struct clk_name *clks, int nr_clks,
 #else /* CONFIG_COMMON_CLK */
 /* legacy clock implementation */
 
+struct clk;
 unsigned long shmobile_fixed_ratio_clk_recalc(struct clk *clk);
 extern struct sh_clk_ops shmobile_fixed_ratio_clk_ops;