diff options
author | Kevin Paul Reddy Janagari <kevinpaul468@gmail.com> | 2025-04-05 22:21:16 +0530 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2025-04-14 10:35:44 -0600 |
commit | dd0808ab40ca4c00e1c3cae85614f1a42b3df882 (patch) | |
tree | ce1db96c16cf8b25ce96e8a156dbb58dd41ef39e | |
parent | e54ac586674da862967fee790471fd33b81b29e7 (diff) |
Added usb_string function to a namespace
with reference to WARNING:
Duplicate C declaration, also defined at driver-api/usb/gadget:804
There is a function usb_string in the file message.c,
there is also a struct usb_string in the kernel api headers.
The docs is unable to index the function as the index is occupied by struct
This fix adds messgae.c to the usb_core namespace (in docs) hence providing
usb_sting a unique index usb_core.usb_string()
Signed-off-by: Kevin Paul Reddy Janagari <kevinpaul468@gmail.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20250405165116.147958-1-kevinpaul468@gmail.com
-rw-r--r-- | Documentation/driver-api/usb/usb.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/driver-api/usb/usb.rst b/Documentation/driver-api/usb/usb.rst index 89f9c37bb979..976fb4221062 100644 --- a/Documentation/driver-api/usb/usb.rst +++ b/Documentation/driver-api/usb/usb.rst @@ -161,6 +161,7 @@ rely on 64bit DMA to eliminate another kind of bounce buffer. .. kernel-doc:: drivers/usb/core/urb.c :export: +.. c:namespace:: usb_core .. kernel-doc:: drivers/usb/core/message.c :export: |