diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2014-07-21 22:09:45 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-22 19:31:37 -0400 |
commit | df40f8d3cb12b9a404a0b604fe71a6eb04bf36be (patch) | |
tree | 663e52140184fbfbf710195cd953dc8a0f4be7dd /drivers/usb/chipidea/debug.c | |
parent | 000cb478f3227d34d126004acc5389fb562d0b53 (diff) |
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>
Diffstat (limited to 'drivers/usb/chipidea/debug.c')
-rw-r--r-- | drivers/usb/chipidea/debug.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/chipidea/debug.c b/drivers/usb/chipidea/debug.c index 7cccab6ff308..795d6538d630 100644 --- a/drivers/usb/chipidea/debug.c +++ b/drivers/usb/chipidea/debug.c | |||
@@ -208,7 +208,7 @@ static const struct file_operations ci_requests_fops = { | |||
208 | .release = single_release, | 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 | struct ci_hdrc *ci = s->private; | 213 | struct ci_hdrc *ci = s->private; |
214 | struct otg_fsm *fsm; | 214 | struct otg_fsm *fsm; |
@@ -331,7 +331,7 @@ static const struct file_operations ci_role_fops = { | |||
331 | .release = single_release, | 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 | struct ci_hdrc *ci = s->private; | 336 | struct ci_hdrc *ci = s->private; |
337 | u32 tmp_reg; | 337 | u32 tmp_reg; |