diff options
author | Arnd Bergmann <arnd@arndb.de> | 2020-04-08 22:01:15 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2020-05-07 23:03:10 +0300 |
commit | e4cc4f54be01b91b3e1b55430709d2a113f4e08f (patch) | |
tree | b21e5869a96bd35a8e02be54e48f4cbe2fcdd665 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 09701895aa93df32cc708eab032ae8704feda333 (diff) | |
download | linux-e4cc4f54be01b91b3e1b55430709d2a113f4e08f.tar.xz |
soc: tegra: Fix tegra_pmc_get_suspend_mode definition
When CONFIG_PM_SLEEP is disabled, the function is not defined,
causing a link failure:
arm-linux-gnueabi-ld: drivers/cpuidle/cpuidle-tegra.o: in function `tegra_cpuidle_probe':
cpuidle-tegra.c:(.text+0x24): undefined reference to `tegra_pmc_get_suspend_mode'
Change the #ifdef check according to the definition.
Fixes: 382ac8e22b90 ("cpuidle: tegra: Disable CC6 state if LP2 unavailable")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions