diff options
| author | Guenter Roeck <[email protected]> | 2021-09-06 21:53:58 -0700 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2021-09-13 01:59:14 +0100 |
| commit | 6e8cc4ddce82820b287343bfefee21113da0cdad (patch) | |
| tree | a91ffe130a0be4c12a04f4fc34e37acd25b85b80 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | bfad37c53ae6168d03ab06868ea44e77995c43d5 (diff) | |
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]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions