mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 13:11:40 +00:00
usb: dwc3: dwc3_get_extcon() can be static
Fix sparse warning
Fixes: 5f0b74e548
("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>
This commit is contained in:
parent
31a2f5a7e1
commit
edbbfe1944
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user