diff options
| author | Randy Dunlap <[email protected]> | 2020-12-08 19:55:47 +0000 |
|---|---|---|
| committer | Peter Chen <[email protected]> | 2020-12-29 04:36:13 +0000 |
| commit | b13f020d0c9f03d8c6f63f06ac4cfea76a212afb (patch) | |
| tree | 8cc1679ad61318013aba2e7474d26a2f18f1f611 /drivers/usb/cdns3/cdns3-gadget.c | |
| parent | usb: cdns3: fix build when PM_SLEEP is not set (diff) | |
| download | kernel-b13f020d0c9f03d8c6f63f06ac4cfea76a212afb.tar.gz kernel-b13f020d0c9f03d8c6f63f06ac4cfea76a212afb.zip | |
usb: cdns3: fix warning when USB_CDNS_HOST is not set
Fix a build warning when USB_CDNS_HOST is not enabled:
In file included from ../drivers/usb/cdns3/core.c:23:0:
../drivers/usb/cdns3/host-export.h:27:51: warning: ‘struct usb_hcd’ declared inside parameter list will not be visible outside of this definition or declaration
static inline int xhci_cdns3_suspend_quirk(struct usb_hcd *hcd)
^~~~~~~
Signed-off-by: Randy Dunlap <[email protected]>
Cc: Peter Chen <[email protected]>
Cc: Pawel Laszczak <[email protected]>
Cc: Roger Quadros <[email protected]>
Cc: [email protected]
Cc: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Peter Chen <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-gadget.c')
0 files changed, 0 insertions, 0 deletions
