]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: tegra: pm: fix build error w/o PM_SLEEP
authorJoseph Lo <josephl@nvidia.com>
Mon, 15 Apr 2013 22:53:05 +0000 (16:53 -0600)
committerOlof Johansson <olof@lixom.net>
Thu, 18 Apr 2013 16:34:13 +0000 (09:34 -0700)
commit128673b3646beba4f5a41f50a7a21c3c2f3455ca
tree82da3601f6d7605483b2c6c576a2a03e38973e5a
parenta100caaf12c871f040d34437229156b8b5670059
ARM: tegra: pm: fix build error w/o PM_SLEEP

This fixes the building error when the PM_SLEEP is disabled. The fucntional
defintion of "tegra_pm_validate_suspend_mode" without "static inline"
would become a multiple definition error.

Reported-by: Rhyland Klein <rklein@nvidia.com>
Signed-off-by: Joseph Lo <josephl@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/mach-tegra/pm.h