Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit df40f8d3 authored by Wei Yongjun's avatar Wei Yongjun Committed by Greg Kroah-Hartman
Browse files

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: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: default avatarPeter Chen <peter.chen@freescale.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 000cb478
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -208,7 +208,7 @@ static const struct file_operations ci_requests_fops = {
	.release	= single_release,
	.release	= single_release,
};
};


int ci_otg_show(struct seq_file *s, void *unused)
static int ci_otg_show(struct seq_file *s, void *unused)
{
{
	struct ci_hdrc *ci = s->private;
	struct ci_hdrc *ci = s->private;
	struct otg_fsm *fsm;
	struct otg_fsm *fsm;
@@ -331,7 +331,7 @@ static const struct file_operations ci_role_fops = {
	.release	= single_release,
	.release	= single_release,
};
};


int ci_registers_show(struct seq_file *s, void *unused)
static int ci_registers_show(struct seq_file *s, void *unused)
{
{
	struct ci_hdrc *ci = s->private;
	struct ci_hdrc *ci = s->private;
	u32 tmp_reg;
	u32 tmp_reg;