diff mbox series

usb: dwc3: document usb_psy in struct dwc3

Message ID 20210303064842.2723785-1-raychi@google.com
State New
Headers show
Series usb: dwc3: document usb_psy in struct dwc3 | expand

Commit Message

Ray Chi March 3, 2021, 6:48 a.m. UTC
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'

Signed-off-by: Ray Chi <raychi@google.com>
---
 drivers/usb/dwc3/core.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Greg Kroah-Hartman March 3, 2021, 6:57 a.m. UTC | #1
On Wed, Mar 03, 2021 at 02:48:42PM +0800, Ray Chi wrote:
> 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'

> 

> Signed-off-by: Ray Chi <raychi@google.com>


You forgot the "Reported-by:" line here.

Please fix up and resend a v2.

thanks,

greg k-h
diff mbox series

Patch

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