linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Jó Ágila Bitsch" <jgilab@gmail.com>
To: Greg KH <greg@kroah.com>, Stephen Rothwell <sfr@canb.auug.org.au>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Linux Next Mailing List <linux-next@vger.kernel.org>
Subject: [PATCH v1] usb: gadget: add doc to struct usb_composite_dev
Date: Wed, 25 Jan 2023 22:33:47 +0100	[thread overview]
Message-ID: <Y9FmWVF+J08V4RbP@jo-einhundert> (raw)
Message-ID: <20230125213347.0N2mrFkdJ40TlvkC4n0zTrYYTzzBp0z2nx_itDQPn9w@z> (raw)
In-Reply-To: <Y9Fokec99g+c31P2@kroah.com>

Added documentation to new struct members for WebUSB:
* bcd_webusb_version
* b_webusb_vendor_code
* landing_page
* use_webusb
to avoid warnings in the build of htmldocs

Fixes: 93c473948c58 ("usb: gadget: add WebUSB landing page support")
Reported-By: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Jó Ágila Bitsch <jgilab@gmail.com>
---
V0 -> V1: added Tested-By and Fixes Tags


 include/linux/usb/composite.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/linux/usb/composite.h b/include/linux/usb/composite.h
index 91d22c3ed458..7ef8cea67f50 100644
--- a/include/linux/usb/composite.h
+++ b/include/linux/usb/composite.h
@@ -432,6 +432,10 @@ static inline struct usb_composite_driver *to_cdriver(
  * @qw_sign: qwSignature part of the OS string
  * @b_vendor_code: bMS_VendorCode part of the OS string
  * @use_os_string: false by default, interested gadgets set it
+ * @bcd_webusb_version: 0x0100 by default, WebUSB specification version
+ * @b_webusb_vendor_code: 0x0 by default, vendor code for WebUSB
+ * @landing_page: empty by default, landing page to announce in WebUSB
+ * @use_webusb:: false by default, interested gadgets set it
  * @os_desc_config: the configuration to be used with OS descriptors
  * @setup_pending: true when setup request is queued but not completed
  * @os_desc_pending: true when os_desc request is queued but not completed
-- 
2.37.2


  parent reply	other threads:[~2023-01-25 21:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-23  4:24 linux-next: build warning after merge of the usb tree Stephen Rothwell
2023-01-23 14:42 ` Greg KH
2023-01-25 17:01   ` Jó Ágila Bitsch
2023-01-25 17:26   ` Jó Ágila Bitsch [this message]
2023-01-25 17:36     ` [PATCH] usb: gadget: add doc to struct usb_composite_dev Greg KH
2023-01-25 21:33     ` [PATCH v1] " Jó Ágila Bitsch
2023-01-31 11:51     ` [PATCH] " Greg KH
2023-02-04 12:15       ` [PATCH v2] " Jó Ágila Bitsch
2023-04-12 23:11         ` Randy Dunlap

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=Y9FmWVF+J08V4RbP@jo-einhundert \
    --to=jgilab@gmail.com \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    --cc=sfr@canb.auug.org.au \
    /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;
as well as URLs for NNTP newsgroup(s).