diff options
author | Arnd Bergmann <arnd@arndb.de> | 2021-07-21 18:25:42 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2021-07-22 12:11:07 +0300 |
commit | c1302e8ce517ed9c417aa4eb19776df4efbbebf4 (patch) | |
tree | 67f20603eab209cdf8051958158e8fdd11abbbc5 /drivers/phy/tegra/xusb-tegra124.c | |
parent | bfccd9a71a08627bcccd40277967516ddd9d5db2 (diff) | |
download | linux-c1302e8ce517ed9c417aa4eb19776df4efbbebf4.tar.xz |
phy: tegra: xusb: mark PM functions as __maybe_unused
When these are not referenced, gcc prints a harmless warning:
drivers/phy/tegra/xusb.c:1286:12: error: 'tegra_xusb_padctl_resume_noirq' defined but not used [-Werror=unused-function]
1286 | static int tegra_xusb_padctl_resume_noirq(struct device *dev)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/phy/tegra/xusb.c:1276:12: error: 'tegra_xusb_padctl_suspend_noirq' defined but not used [-Werror=unused-function]
1276 | static int tegra_xusb_padctl_suspend_noirq(struct device *dev)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Fixes: c545a9056712 ("phy: tegra: xusb: Add sleepwalk and suspend/resume")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20210721152550.2976003-1-arnd@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/phy/tegra/xusb-tegra124.c')
0 files changed, 0 insertions, 0 deletions