Added usb_string function to a namespace
authorKevin Paul Reddy Janagari <kevinpaul468@gmail.com>
Sat, 5 Apr 2025 16:51:16 +0000 (22:21 +0530)
committerJonathan Corbet <corbet@lwn.net>
Mon, 14 Apr 2025 16:35:44 +0000 (10:35 -0600)
commitdd0808ab40ca4c00e1c3cae85614f1a42b3df882
treece1db96c16cf8b25ce96e8a156dbb58dd41ef39e
parente54ac586674da862967fee790471fd33b81b29e7
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
Documentation/driver-api/usb/usb.rst