From: kbuild test robot Date: Thu, 17 May 2018 16:06:41 +0000 (+0800) Subject: usb: dwc3: dwc3_get_extcon() can be static X-Git-Tag: v4.18-rc1~136^2~81^2~17 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=edbbfe19444e01bbd6d441b28709ff794455d46f;p=linux.git 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 Signed-off-by: kbuild test robot Signed-off-by: Felipe Balbi --- 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;