* [PATCH] ARM: OMAP: make ti81xx_rtc_hwmod static
@ 2016-06-21 12:47 Ben Dooks
2016-06-22 10:06 ` Tony Lindgren
0 siblings, 1 reply; 2+ messages in thread
From: Ben Dooks @ 2016-06-21 12:47 UTC (permalink / raw)
To: linux-arm-kernel
The ti81xx_rtc_hwmod is not exported, or declared outside the file
arch/arm/mach-omap2/omap_hwmod_81xx_data.c so make it static to
avoid the following warning:
arch/arm/mach-omap2/omap_hwmod_81xx_data.c:246:19: warning: symbol 'ti81xx_rtc_hwmod' was not declared. Should it be static?
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
---
Cc: Paul Walmsley <paul@pwsan.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: linux-omap at vger.kernel.org
Cc: linux-arm-kernel at lists.infradead.org
---
arch/arm/mach-omap2/omap_hwmod_81xx_data.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-omap2/omap_hwmod_81xx_data.c b/arch/arm/mach-omap2/omap_hwmod_81xx_data.c
index df83277..b82b77c 100644
--- a/arch/arm/mach-omap2/omap_hwmod_81xx_data.c
+++ b/arch/arm/mach-omap2/omap_hwmod_81xx_data.c
@@ -243,7 +243,7 @@ static struct omap_hwmod_class ti81xx_rtc_hwmod_class = {
.sysc = &ti81xx_rtc_sysc,
};
-struct omap_hwmod ti81xx_rtc_hwmod = {
+static struct omap_hwmod ti81xx_rtc_hwmod = {
.name = "rtc",
.class = &ti81xx_rtc_hwmod_class,
.clkdm_name = "alwon_l3s_clkdm",
--
2.8.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] ARM: OMAP: make ti81xx_rtc_hwmod static
2016-06-21 12:47 [PATCH] ARM: OMAP: make ti81xx_rtc_hwmod static Ben Dooks
@ 2016-06-22 10:06 ` Tony Lindgren
0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2016-06-22 10:06 UTC (permalink / raw)
To: linux-arm-kernel
* Ben Dooks <ben.dooks@codethink.co.uk> [160621 05:50]:
> The ti81xx_rtc_hwmod is not exported, or declared outside the file
> arch/arm/mach-omap2/omap_hwmod_81xx_data.c so make it static to
> avoid the following warning:
Thanks applying into omap-for-v4.8/soc.
Tony
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-06-22 10:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-21 12:47 [PATCH] ARM: OMAP: make ti81xx_rtc_hwmod static Ben Dooks
2016-06-22 10:06 ` Tony Lindgren
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).