ARM: tegra: remove ifdef in the tegra_resume
authorJoseph Lo <josephl@nvidia.com>
Mon, 3 Jun 2013 08:10:04 +0000 (16:10 +0800)
committerStephen Warren <swarren@nvidia.com>
Wed, 5 Jun 2013 17:37:08 +0000 (11:37 -0600)
commitaf7f322ea8d00d120f06de4d6f73ad704c7fcc61
treea1633d9fb35c80d749a22f87780015d4d51bb476
parent510bb595de26f90e5bb7c4a1e2a584e38398cf00
ARM: tegra: remove ifdef in the tegra_resume

The ifdef was originally added with the intent that the runtime SoC
detection code, and code to support SoCs other than Tegra20, was only
included if the kernel supported SoCs other than Tegra20. However,
the condition was somewhat backwards and did not achieve this goal.
Simply remove the ifdef to solve this, rather than creating a much more
complex version.

We also fix a typo that caused a build error due to cpu_to_csr_req being
undefined.

Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Joseph Lo <josephl@nvidia.com>
[swarren: rewrote commit description]
Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/mach-tegra/reset-handler.S
This page took 0.02754 seconds and 5 git commands to generate.