* [Patch v3] usb: dwc3: document usb_psy in struct dwc3
@ 2021-03-03 9:58 Ray Chi
0 siblings, 0 replies; only message in thread
From: Ray Chi @ 2021-03-03 9:58 UTC (permalink / raw)
To: balbi, gregkh; +Cc: linux-usb, linux-kernel, kyletso, Ray Chi, Stephen Rothwell
The new struct member was added to struct dwc3, but
a documentation was missing:
drivers/usb/dwc3/core.h:1273: warning: Function parameter or member 'usb_psy' not described in 'dwc3'
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Ray Chi <raychi@google.com>
---
Changelog since v2:
- move Signed-off-by to the bottom
Changelog since v1:
(reported-by Stephen Rothwell <sfr@canb.auug.org.au>)
- added Reported-by line.
drivers/usb/dwc3/core.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h
index 6708fdf358b3..ce6bd84e2b39 100644
--- a/drivers/usb/dwc3/core.h
+++ b/drivers/usb/dwc3/core.h
@@ -988,6 +988,7 @@ struct dwc3_scratchpad_array {
* @role_sw: usb_role_switch handle
* @role_switch_default_mode: default operation mode of controller while
* usb role is USB_ROLE_NONE.
+ * @usb_psy: pointer to power supply interface.
* @usb2_phy: pointer to USB2 PHY
* @usb3_phy: pointer to USB3 PHY
* @usb2_generic_phy: pointer to USB2 PHY
--
2.30.1.766.gb4fecdf3b7-goog
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-03-03 10:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-03 9:58 [Patch v3] usb: dwc3: document usb_psy in struct dwc3 Ray Chi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).