aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-gadget.c
diff options
context:
space:
mode:
authorWei Yongjun <[email protected]>2021-03-10 10:46:54 +0000
committerPeter Chen <[email protected]>2021-04-12 12:19:21 +0000
commitef32e0513a130945a08debbbc6d126b54c59fa58 (patch)
tree46ac4c9c28cdf5a7ac002f46ece75d2b8b8fec1c /drivers/usb/cdns3/cdns3-gadget.c
parentusb: cdns3: trace: delete the trace parameter for request->trb (diff)
downloadkernel-ef32e0513a130945a08debbbc6d126b54c59fa58.tar.gz
kernel-ef32e0513a130945a08debbbc6d126b54c59fa58.zip
usb: cdns3: imx: mark cdns_imx_system_resume as __maybe_unused
The function cdns_imx_system_resume() may have no callers depending on configuration, so it must be marked __maybe_unused to avoid harmless warning: drivers/usb/cdns3/cdns3-imx.c:378:12: warning: 'cdns_imx_system_resume' defined but not used [-Wunused-function] 378 | static int cdns_imx_system_resume(struct device *dev) | ^~~~~~~~~~~~~~~~~~~~~~ Fixes: 67982dfa59de ("usb: cdns3: imx: add power lost support for system resume") Reported-by: Hulk Robot <[email protected]> Signed-off-by: Wei Yongjun <[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