Skip to content

Commit 4a65bbb

Browse files
YueHaibingtmlind
authored andcommitted
soc: ti: pm33xx: Make two symbols static
Fix sparse warnings: drivers/soc/ti/pm33xx.c:144:27: warning: symbol 'rtc_wake_src' was not declared. Should it be static? drivers/soc/ti/pm33xx.c:160:5: warning: symbol 'am33xx_rtc_only_idle' was not declared. Should it be static? Signed-off-by: YueHaibing <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
1 parent d8e0cec commit 4a65bbb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/soc/ti/pm33xx.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ static int __init am43xx_map_gic(void)
141141
}
142142

143143
#ifdef CONFIG_SUSPEND
144-
struct wkup_m3_wakeup_src rtc_wake_src(void)
144+
static struct wkup_m3_wakeup_src rtc_wake_src(void)
145145
{
146146
u32 i;
147147

@@ -157,7 +157,7 @@ struct wkup_m3_wakeup_src rtc_wake_src(void)
157157
return rtc_ext_wakeup;
158158
}
159159

160-
int am33xx_rtc_only_idle(unsigned long wfi_flags)
160+
static int am33xx_rtc_only_idle(unsigned long wfi_flags)
161161
{
162162
omap_rtc_power_off_program(&omap_rtc->dev);
163163
am33xx_do_wfi_sram(wfi_flags);

0 commit comments

Comments
 (0)