Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

usb: chipidea: debug: fix sparse non static symbol warnings

Fixes the following sparse warnings:

drivers/usb/chipidea/debug.c:211:5: warning:
symbol 'ci_otg_show' was not declared. Should it be static?
drivers/usb/chipidea/debug.c:334:5: warning:
symbol 'ci_registers_show' was not declared. Should it be static?

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Wei Yongjun and committed by
Greg Kroah-Hartman
df40f8d3 000cb478

+2 -2
+2 -2
drivers/usb/chipidea/debug.c
··· 208 208 .release = single_release, 209 209 }; 210 210 211 - int ci_otg_show(struct seq_file *s, void *unused) 211 + static int ci_otg_show(struct seq_file *s, void *unused) 212 212 { 213 213 struct ci_hdrc *ci = s->private; 214 214 struct otg_fsm *fsm; ··· 331 331 .release = single_release, 332 332 }; 333 333 334 - int ci_registers_show(struct seq_file *s, void *unused) 334 + static int ci_registers_show(struct seq_file *s, void *unused) 335 335 { 336 336 struct ci_hdrc *ci = s->private; 337 337 u32 tmp_reg;