diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2021-03-10 13:46:54 +0300 |
---|---|---|
committer | Peter Chen <peter.chen@kernel.org> | 2021-04-12 15:19:21 +0300 |
commit | ef32e0513a130945a08debbbc6d126b54c59fa58 (patch) | |
tree | 46ac4c9c28cdf5a7ac002f46ece75d2b8b8fec1c /block/bfq-iosched.c | |
parent | 39be23f4f16f5e743471c87c1e04bc90fc6d100a (diff) | |
download | linux-ef32e0513a130945a08debbbc6d126b54c59fa58.tar.xz |
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 <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Peter Chen <peter.chen@kernel.org>
Diffstat (limited to 'block/bfq-iosched.c')
0 files changed, 0 insertions, 0 deletions