diff options
author | Arnd Bergmann <arnd@arndb.de> | 2021-10-13 17:45:23 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-10-13 18:46:35 +0300 |
commit | 7dc9b9562740d858332894447c9779b146559239 (patch) | |
tree | 159be18755cf05dc2542438d4bc08e9d6bab1961 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 923f508f9ec76c7f07a612525bfa737e95d0b9f1 (diff) | |
download | linux-7dc9b9562740d858332894447c9779b146559239.tar.xz |
spi: tegra20: fix build with CONFIG_PM_SLEEP=n
There is another one of these warnings:
drivers/spi/spi-tegra20-slink.c:1197:12: error: 'tegra_slink_runtime_resume' defined but not used [-Werror=unused-function]
1197 | static int tegra_slink_runtime_resume(struct device *dev)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
Give it the same treatment as the other functions in this file.
Fixes: efafec27c565 ("spi: Fix tegra20 build with CONFIG_PM=n")
Fixes: 2bab94090b01 ("spi: tegra20-slink: Declare runtime suspend and resume functions conditionally")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20211013144538.2346533-1-arnd@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions