summaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc3
diff options
context:
space:
mode:
authorkbuild test robot <fengguang.wu@intel.com>2018-05-18 00:06:41 +0800
committerFelipe Balbi <felipe.balbi@linux.intel.com>2018-05-21 10:01:01 +0300
commitedbbfe19444e01bbd6d441b28709ff794455d46f (patch)
tree7e9667e4371c447b62f52214caff0bbea3d118cc /drivers/usb/dwc3
parent31a2f5a7e13633712a97721458f6c5980c2d386e (diff)
downloadtalos-op-linux-edbbfe19444e01bbd6d441b28709ff794455d46f.tar.gz
talos-op-linux-edbbfe19444e01bbd6d441b28709ff794455d46f.zip
usb: dwc3: dwc3_get_extcon() can be static
Fix sparse warning Fixes: 5f0b74e54890 ("USB: dwc3: get extcon device by OF graph bindings") Reviewed-by: Andrzej Hajda <a.hajda@samsung.com> Signed-off-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/dwc3')
-rw-r--r--drivers/usb/dwc3/drd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/drd.c b/drivers/usb/dwc3/drd.c
index 270682486f82..218371f985ca 100644
--- a/drivers/usb/dwc3/drd.c
+++ b/drivers/usb/dwc3/drd.c
@@ -440,7 +440,7 @@ static int dwc3_drd_notifier(struct notifier_block *nb,
return NOTIFY_DONE;
}
-struct extcon_dev *dwc3_get_extcon(struct dwc3 *dwc)
+static struct extcon_dev *dwc3_get_extcon(struct dwc3 *dwc)
{
struct device *dev = dwc->dev;
struct device_node *np_phy, *np_conn;
OpenPOWER on IntegriCloud