Skip to content

Commit

Permalink
ARM: tegra: export tegra_powergate_is_powered()
Browse files Browse the repository at this point in the history
Export tegra_powergate_is_powered(). This function will be used by the Tegra30
code to bringup secondary CPU cores.

Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
Tested-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
  • Loading branch information
Peter De Schrijver authored and Olof Johansson committed Feb 26, 2012
1 parent 8f5d6f1 commit 6ac8cb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions arch/arm/mach-tegra/include/mach/powergate.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#define TEGRA_POWERGATE_L2 5
#define TEGRA_POWERGATE_MPE 6

int tegra_powergate_is_powered(int id);
int tegra_powergate_power_on(int id);
int tegra_powergate_power_off(int id);
int tegra_powergate_remove_clamping(int id);
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-tegra/powergate.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ int tegra_powergate_power_off(int id)
return tegra_powergate_set(id, false);
}

static int tegra_powergate_is_powered(int id)
int tegra_powergate_is_powered(int id)
{
u32 status;

Expand Down

0 comments on commit 6ac8cb5

Please sign in to comment.