aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2013-11-27 21:27:59 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-12-03 12:35:18 -0500
commit49cf10c67bfbd68bc646390cd1f4cbe77aea12d5 (patch)
tree432905f6a7cd74f220e9a9247a411c957af9a496 /drivers
parentd12816156901d2e3d6dd310088dbdb37a65e7712 (diff)
staging: dwc2: fix sparse non static symbol warning
Fixes the following sparse warning: drivers/staging/dwc2/core.c:2672:6: warning: symbol 'dwc2_set_param_uframe_sched' was not declared. Should it be static? Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/dwc2/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/dwc2/core.c b/drivers/staging/dwc2/core.c
index 8a71726a3566..8565d87f94b4 100644
--- a/drivers/staging/dwc2/core.c
+++ b/drivers/staging/dwc2/core.c
@@ -2510,7 +2510,7 @@ void dwc2_set_param_otg_ver(struct dwc2_hsotg *hsotg, int val)
2510 hsotg->core_params->otg_ver = val; 2510 hsotg->core_params->otg_ver = val;
2511} 2511}
2512 2512
2513void dwc2_set_param_uframe_sched(struct dwc2_hsotg *hsotg, int val) 2513static void dwc2_set_param_uframe_sched(struct dwc2_hsotg *hsotg, int val)
2514{ 2514{
2515 if (DWC2_OUT_OF_BOUNDS(val, 0, 1)) { 2515 if (DWC2_OUT_OF_BOUNDS(val, 0, 1)) {
2516 if (val >= 0) { 2516 if (val >= 0) {