mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] USB: ohci: ohci_pdriver.h: fix missing kernel-doc comments
@ 2026-02-28 19:20 Randy Dunlap
  2026-02-28 19:24 ` Alan Stern
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2026-02-28 19:20 UTC (permalink / raw)
  To: linux-kernel; +Cc: Randy Dunlap, Alan Stern, linux-usb, Greg Kroah-Hartman

Convert comments to kernel-doc format to avoid kernel-doc warnings:

Warning: include/linux/usb/ohci_pdriver.h:32 struct member 'power_on'
 not described in 'usb_ohci_pdata'
Warning: include/linux/usb/ohci_pdriver.h:32 struct member 'power_off'
 not described in 'usb_ohci_pdata'
Warning: include/linux/usb/ohci_pdriver.h:32 struct member 'power_suspend'
 not described in 'usb_ohci_pdata'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: linux-usb@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

 include/linux/usb/ohci_pdriver.h |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

--- linux-next-20260205.orig/include/linux/usb/ohci_pdriver.h
+++ linux-next-20260205/include/linux/usb/ohci_pdriver.h
@@ -23,12 +23,14 @@ struct usb_ohci_pdata {
 	unsigned	no_big_frame_no:1;
 	unsigned int	num_ports;
 
-	/* Turn on all power and clocks */
+	/** @power_on: Turn on all power and clocks */
 	int (*power_on)(struct platform_device *pdev);
-	/* Turn off all power and clocks */
+	/** @power_off: Turn off all power and clocks */
 	void (*power_off)(struct platform_device *pdev);
-	/* Turn on only VBUS suspend power and hotplug detection,
-	 * turn off everything else */
+	/**
+	 * @power_suspend: Turn on only VBUS suspend power and hotplug
+	 * detection, turn off everything else
+	 */
 	void (*power_suspend)(struct platform_device *pdev);
 };
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-02-28 19:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-02-28 19:20 [PATCH] USB: ohci: ohci_pdriver.h: fix missing kernel-doc comments Randy Dunlap
2026-02-28 19:24 ` Alan Stern

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®