aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-tegra/include/mach/powergate.h1
-rw-r--r--arch/arm/mach-tegra/powergate.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/include/mach/powergate.h b/arch/arm/mach-tegra/include/mach/powergate.h
index 36846dc6e8ef..0ec8ce1cbd22 100644
--- a/arch/arm/mach-tegra/include/mach/powergate.h
+++ b/arch/arm/mach-tegra/include/mach/powergate.h
@@ -28,6 +28,7 @@
28#define TEGRA_POWERGATE_L2 5 28#define TEGRA_POWERGATE_L2 5
29#define TEGRA_POWERGATE_MPE 6 29#define TEGRA_POWERGATE_MPE 6
30 30
31int tegra_powergate_is_powered(int id);
31int tegra_powergate_power_on(int id); 32int tegra_powergate_power_on(int id);
32int tegra_powergate_power_off(int id); 33int tegra_powergate_power_off(int id);
33int tegra_powergate_remove_clamping(int id); 34int tegra_powergate_remove_clamping(int id);
diff --git a/arch/arm/mach-tegra/powergate.c b/arch/arm/mach-tegra/powergate.c
index 9b828f2ed2b6..984bbdfec5db 100644
--- a/arch/arm/mach-tegra/powergate.c
+++ b/arch/arm/mach-tegra/powergate.c
@@ -93,7 +93,7 @@ int tegra_powergate_power_off(int id)
93 return tegra_powergate_set(id, false); 93 return tegra_powergate_set(id, false);
94} 94}
95 95
96static int tegra_powergate_is_powered(int id) 96int tegra_powergate_is_powered(int id)
97{ 97{
98 u32 status; 98 u32 status;
99 99