diff options
author | Dmitry Osipenko <digetx@gmail.com> | 2021-09-12 23:29:04 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2021-10-04 22:27:40 +0300 |
commit | 0d7281b27af9d9602a6d62a132f19932b1b0fd88 (patch) | |
tree | f1df3664361cc336b4e03cfd43a2074e96f8c07f /include/soc/tegra | |
parent | aa54686e285c13bfbafc02e7cc3cf18f2fbca4b0 (diff) | |
download | linux-0d7281b27af9d9602a6d62a132f19932b1b0fd88.tar.xz |
soc/tegra: pm: Make stubs usable for compile testing
The PM stubs need to depend on ARCH_TEGRA in order to be usable for
compile-testing of tegra-cpuidle driver. Add the dependency.
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'include/soc/tegra')
-rw-r--r-- | include/soc/tegra/pm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/soc/tegra/pm.h b/include/soc/tegra/pm.h index 433878927026..ce4d0b1bd0d6 100644 --- a/include/soc/tegra/pm.h +++ b/include/soc/tegra/pm.h @@ -17,7 +17,7 @@ enum tegra_suspend_mode { TEGRA_SUSPEND_NOT_READY, }; -#if defined(CONFIG_PM_SLEEP) && defined(CONFIG_ARM) +#if defined(CONFIG_PM_SLEEP) && defined(CONFIG_ARM) && defined(CONFIG_ARCH_TEGRA) enum tegra_suspend_mode tegra_pm_validate_suspend_mode(enum tegra_suspend_mode mode); |