projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31a2f5a
)
usb: dwc3: dwc3_get_extcon() can be static
author
kbuild test robot
<fengguang.wu@intel.com>
Thu, 17 May 2018 16:06:41 +0000
(
00:06
+0800)
committer
Felipe Balbi
<felipe.balbi@linux.intel.com>
Mon, 21 May 2018 07:01:01 +0000
(10:01 +0300)
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>
drivers/usb/dwc3/drd.c
patch
|
blob
|
history
diff --git
a/drivers/usb/dwc3/drd.c
b/drivers/usb/dwc3/drd.c
index 270682486f8217f8481b3f987d6e71c8b6693f10..218371f985ca8c0112a6abf70ead2835fbbea213 100644
(file)
--- 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)
+st
atic st
ruct extcon_dev *dwc3_get_extcon(struct dwc3 *dwc)
{
struct device *dev = dwc->dev;
struct device_node *np_phy, *np_conn;