• Joseph Lo's avatar
    ARM: tegra: remove ifdef in the tegra_resume · af7f322e
    Joseph Lo authored
    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: default avatarArnd Bergmann <arnd@arndb.de>
    Signed-off-by: default avatarJoseph Lo <josephl@nvidia.com>
    [swarren: rewrote commit description]
    Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
    af7f322e
reset-handler.S 6.46 KB