diff options
| author | Guenter Roeck <[email protected]> | 2021-09-07 04:53:58 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2021-09-09 13:16:27 +0000 |
| commit | 2bab94090b01bc593d8bc25f68df41f198721173 (patch) | |
| tree | 92612c0478278af66d2e5eaec5e94a0e01b736fb /lib/timerqueue.c | |
| parent | spi: rockchip: handle zero length transfers without timing out (diff) | |
| download | kernel-2bab94090b01bc593d8bc25f68df41f198721173.tar.gz kernel-2bab94090b01bc593d8bc25f68df41f198721173.zip | |
spi: tegra20-slink: Declare runtime suspend and resume functions conditionally
The following build error is seen with CONFIG_PM=n.
drivers/spi/spi-tegra20-slink.c:1188:12: error:
'tegra_slink_runtime_suspend' defined but not used
drivers/spi/spi-tegra20-slink.c:1200:12: error:
'tegra_slink_runtime_resume' defined but not used
Declare the functions only if PM is enabled. While at it, remove the
unnecessary forward declarations.
Signed-off-by: Guenter Roeck <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Acked-by: Thierry Reding <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions
