diff options
author | Olof Johansson <olof@lixom.net> | 2011-09-08 20:54:21 -0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2011-10-13 17:08:28 -0400 |
commit | 784278e116d6243f2588e28d2404425858df65b4 (patch) | |
tree | 0564b6513d9b1d6655821fe9f35e41963c24b352 /arch/arm/mach-tegra/include | |
parent | b28fba2a4e631de99b25a9d4b2d1ba1c65f86f53 (diff) |
ARM: tegra: tegra_powergate_is_powered should be static
Not exported and not used externally.
Also, fix return type. Due to new return type, errors can't be returned
so WARN_ON instead of returning error if a bad parameter is specified.
Signed-off-by: Olof Johansson <olof@lixom.net>
Acked-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-tegra/include')
-rw-r--r-- | arch/arm/mach-tegra/include/mach/powergate.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/include/mach/powergate.h b/arch/arm/mach-tegra/include/mach/powergate.h index 401d1b72529..39c396d2ddb 100644 --- a/arch/arm/mach-tegra/include/mach/powergate.h +++ b/arch/arm/mach-tegra/include/mach/powergate.h | |||
@@ -31,7 +31,6 @@ | |||
31 | 31 | ||
32 | int tegra_powergate_power_on(int id); | 32 | int tegra_powergate_power_on(int id); |
33 | int tegra_powergate_power_off(int id); | 33 | int tegra_powergate_power_off(int id); |
34 | bool tegra_powergate_is_powered(int id); | ||
35 | int tegra_powergate_remove_clamping(int id); | 34 | int tegra_powergate_remove_clamping(int id); |
36 | 35 | ||
37 | /* Must be called with clk disabled, and returns with clk enabled */ | 36 | /* Must be called with clk disabled, and returns with clk enabled */ |