RE: [PATCH v2] usb: phy: mxs: Staticize mxs_charger_secondary_detection()

2018-02-11 Thread Jun Li
> -Original Message- > From: Fabio Estevam [mailto:feste...@gmail.com] > Sent: 2018年2月12日 10:24 > To: ba...@kernel.org > Cc: Peter Chen ; linux-usb@vger.kernel.org; Jun Li > ; Fabio Estevam > Subject: [PATCH v2] usb: phy: mxs: Staticize > mxs_charger_seconda

[PATCH v2] usb: phy: mxs: Staticize mxs_charger_secondary_detection()

2018-02-11 Thread Fabio Estevam
From: Fabio Estevam mxs_charger_secondary_detection() is only used in this file, so make it static. This fixes the following sparse warning: drivers/usb/phy/phy-mxs-usb.c:581:23: warning: symbol 'mxs_charger_secondary_detection' was not declared. Should it be static? Signed-off-by: Fabio Este