aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLee Jones <[email protected]>2020-07-02 14:46:07 +0000
committerGreg Kroah-Hartman <[email protected]>2020-07-03 08:18:40 +0000
commitede175a529b112c0fbff02c51a3fcec191d01e30 (patch)
tree3e4eed36f3e4f64538621c026a59cadb6ce6c68d
parentusb: dwc3: dwc3-omap: Do not read DMA status (diff)
downloadkernel-ede175a529b112c0fbff02c51a3fcec191d01e30.tar.gz
kernel-ede175a529b112c0fbff02c51a3fcec191d01e30.zip
usb: host: ehci-omap: Provide documentation for ehci_hcd_omap_probe()'s arg 'pdev'
Description for 'pdev' argument was missing from the function header. Fixes the following W=1 warning: drivers/usb/host/ehci-omap.c:87: warning: Function parameter or member 'pdev' not described in 'ehci_hcd_omap_probe' Cc: Alan Stern <[email protected]> Cc: Vikram Pandita <[email protected]> Cc: Anand Gadiyar <[email protected]> Cc: Keshava Munegowda <[email protected]> Cc: Roger Quadros <[email protected]> Cc: Felipe Balbi <[email protected]> Cc: [email protected] Signed-off-by: Lee Jones <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r--drivers/usb/host/ehci-omap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/host/ehci-omap.c b/drivers/usb/host/ehci-omap.c
index fc125b3d06e7..2ec686e28582 100644
--- a/drivers/usb/host/ehci-omap.c
+++ b/drivers/usb/host/ehci-omap.c
@@ -78,6 +78,7 @@ static const struct ehci_driver_overrides ehci_omap_overrides __initconst = {
/**
* ehci_hcd_omap_probe - initialize TI-based HCDs
+ * @pdev: Pointer to this platform device's information
*
* Allocates basic resources for this USB host controller, and
* then invokes the start() method for the HCD associated with it