soc/tegra: pmc: restrict compilation of suspend-related support to ARM
authorPaul Walmsley <paul@pwsan.com>
Tue, 9 Dec 2014 22:36:50 +0000 (22:36 +0000)
committerThierry Reding <treding@nvidia.com>
Fri, 9 Jan 2015 12:41:19 +0000 (13:41 +0100)
commit2b20b6164ec737bec67641564e477aa6e008748b
tree71c282f954dd3fe063e4fd9c6c1677d26bcf065f
parent97bf6af1f928216fd6c5a66e8a57bfa95a659672
soc/tegra: pmc: restrict compilation of suspend-related support to ARM

Tegra SoCs with 64-bit ARM support don't currently support deep CPU
low-power states in mainline Linux.  When this support is added in the
future, it will probably look rather different from the existing
32-bit ARM support, since the ARM64 maintainers' strong preference is
to use PSCI to implement it.

So, for the time being, prevent the CPU suspend-related code and data
in the Tegra PMC driver from compiling on ARM64.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Paul Walmsley <pwalmsley@nvidia.com>
Cc: Thierry Reding <treding@nvidia.com>
Cc: Allen Martin <amartin@nvidia.com>
Cc: Stephen Warren <swarren@nvidia.com>
Cc: Alexandre Courbot <gnurou@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/soc/tegra/pmc.c
include/soc/tegra/pm.h