From: Randy Dunlap <rdunlap@infradead.org>
To: linux-kernel@vger.kernel.org
Cc: Randy Dunlap <rdunlap@infradead.org>,
Alan Stern <stern@rowland.harvard.edu>,
linux-usb@vger.kernel.org,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Subject: [PATCH] USB: ohci: ohci_pdriver.h: fix missing kernel-doc comments
Date: Sat, 28 Feb 2026 11:20:12 -0800 [thread overview]
Message-ID: <20260228192012.2787573-1-rdunlap@infradead.org> (raw)
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);
};
next reply other threads:[~2026-02-28 19:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-28 19:20 Randy Dunlap [this message]
2026-02-28 19:24 ` Alan Stern
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260228192012.2787573-1-rdunlap@infradead.org \
--to=rdunlap@infradead.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=stern@rowland.harvard.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®