diff options
author | 2018-05-18 00:06:41 +0800 | |
---|---|---|
committer | 2018-05-21 10:01:01 +0300 | |
commit | edbbfe19444e01bbd6d441b28709ff794455d46f (patch) | |
tree | 7e9667e4371c447b62f52214caff0bbea3d118cc /drivers/usb/dwc3 | |
parent | usb: dwc3: gadget: init req->{direction,epnum} from alloc_request() (diff) | |
download | linux-edbbfe19444e01bbd6d441b28709ff794455d46f.tar.gz linux-edbbfe19444e01bbd6d441b28709ff794455d46f.tar.bz2 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.c | 2 |
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; |