From: Wolfram Sang <wsa@the-dreams.de>
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v6 12/12] ARM: shmobile: Add forward declaration of struct clk to silence warning
Date: Wed, 14 May 2014 01:10:16 +0000 [thread overview]
Message-ID: <1400029816-24028-13-git-send-email-wsa@the-dreams.de> (raw)
In-Reply-To: <1400029816-24028-1-git-send-email-wsa@the-dreams.de>
From: Geert Uytterhoeven <geert+renesas@glider.be>
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>
---
arch/arm/mach-shmobile/include/mach/clock.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-shmobile/include/mach/clock.h b/arch/arm/mach-shmobile/include/mach/clock.h
index 9a93cf924b9c..31b6417463e6 100644
--- a/arch/arm/mach-shmobile/include/mach/clock.h
+++ b/arch/arm/mach-shmobile/include/mach/clock.h
@@ -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;
--
1.9.2
next prev parent reply other threads:[~2014-05-14 1:10 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-14 1:10 [PATCH v6 00/12] CCF support for Renesas r7s72100 Wolfram Sang
2014-05-14 1:10 ` [PATCH v6 01/12] ARM: shmobile: r7s72100: document MSTP clock support Wolfram Sang
2014-05-14 1:10 ` [PATCH v6 02/12] ARM: shmobile: r7s72100: add essential clock nodes to dtsi Wolfram Sang
2014-05-14 1:10 ` [PATCH v6 03/12] ARM: shmobile: r7s72100: genmai: populate nodes for external clocks Wolfram Sang
2014-05-14 1:10 ` [PATCH v6 04/12] ARM: shmobile: r7s72100: add scif nodes to dtsi Wolfram Sang
2014-05-14 1:10 ` [PATCH v6 05/12] ARM: shmobile: r7s72100: genmai: add uart alias and activate scif2 as console Wolfram Sang
2014-05-14 1:10 ` [PATCH v6 06/12] ARM: shmobile: r7s72100: genmai: platform scif devices only for legacy support Wolfram Sang
2014-05-14 1:10 ` [PATCH v6 07/12] ARM: shmobile: r7s72100: add i2c clocks to dtsi Wolfram Sang
2014-05-14 1:10 ` [PATCH v6 08/12] ARM: shmobile: r7s72100: remove I2C DT clocks from legacy clock support Wolfram Sang
2014-05-14 1:10 ` [PATCH v6 09/12] ARM: shmobile: r7s72100: add spi clocks to dtsi Wolfram Sang
2014-05-14 1:10 ` [PATCH v6 10/12] ARM: shmobile: r7s72100: remove SPI DT clocks from legacy clock support Wolfram Sang
2014-05-14 1:10 ` [PATCH v6 11/12] ARM: shmobile: r7s72100: use workaround for non DT-clocks Wolfram Sang
2014-05-14 1:10 ` Wolfram Sang [this message]
2014-05-14 5:08 ` [PATCH v6 00/12] CCF support for Renesas r7s72100 Simon Horman
2014-05-14 7:46 ` Wolfram Sang
2014-05-14 8:09 ` Simon Horman
2014-05-14 9:44 ` Geert Uytterhoeven
2014-05-14 23:02 ` Simon Horman
2014-05-16 0:19 ` Simon Horman
2014-05-16 6:49 ` Wolfram Sang
2014-05-16 7:03 ` Simon Horman
2014-05-16 8:22 ` Wolfram Sang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1400029816-24028-13-git-send-email-wsa@the-dreams.de \
--to=wsa@the-dreams.de \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).