diff options
author | Ben Dooks <ben.dooks@codethink.co.uk> | 2016-06-21 08:47:16 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2016-06-22 06:05:18 -0400 |
commit | 41dc54830d095a8160644ca13e0d13513a48be39 (patch) | |
tree | dd5ea29febe919a035979a9929805ec37d117362 /arch/arm/mach-omap2 | |
parent | b00ccf5b684992829610d162e78a7836933a1b19 (diff) |
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: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r-- | arch/arm/mach-omap2/omap_hwmod_81xx_data.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod_81xx_data.c b/arch/arm/mach-omap2/omap_hwmod_81xx_data.c index df8327713d06..b82b77cff24c 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 = { | |||
243 | .sysc = &ti81xx_rtc_sysc, | 243 | .sysc = &ti81xx_rtc_sysc, |
244 | }; | 244 | }; |
245 | 245 | ||
246 | struct omap_hwmod ti81xx_rtc_hwmod = { | 246 | static struct omap_hwmod ti81xx_rtc_hwmod = { |
247 | .name = "rtc", | 247 | .name = "rtc", |
248 | .class = &ti81xx_rtc_hwmod_class, | 248 | .class = &ti81xx_rtc_hwmod_class, |
249 | .clkdm_name = "alwon_l3s_clkdm", | 249 | .clkdm_name = "alwon_l3s_clkdm", |