Commit 41dc5483 authored by Ben Dooks's avatar Ben Dooks Committed by Tony Lindgren

ARM: OMAP: make ti81xx_rtc_hwmod static

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: default avatarBen Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent b00ccf5b
...@@ -243,7 +243,7 @@ static struct omap_hwmod_class ti81xx_rtc_hwmod_class = { ...@@ -243,7 +243,7 @@ static struct omap_hwmod_class ti81xx_rtc_hwmod_class = {
.sysc = &ti81xx_rtc_sysc, .sysc = &ti81xx_rtc_sysc,
}; };
struct omap_hwmod ti81xx_rtc_hwmod = { static struct omap_hwmod ti81xx_rtc_hwmod = {
.name = "rtc", .name = "rtc",
.class = &ti81xx_rtc_hwmod_class, .class = &ti81xx_rtc_hwmod_class,
.clkdm_name = "alwon_l3s_clkdm", .clkdm_name = "alwon_l3s_clkdm",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment