Commit edbbfe19 authored by kbuild test robot's avatar kbuild test robot Committed by Felipe Balbi

usb: dwc3: dwc3_get_extcon() can be static

Fix sparse warning

Fixes: 5f0b74e5 ("USB: dwc3: get extcon device by OF graph bindings")
Reviewed-by: default avatarAndrzej Hajda <a.hajda@samsung.com>
Signed-off-by: default avatarkbuild test robot <fengguang.wu@intel.com>
Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
parent 31a2f5a7
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment