From: Peter De Schrijver Date: Thu, 9 Feb 2012 23:47:47 +0000 (+0200) Subject: ARM: tegra: export tegra_powergate_is_powered() X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=6ac8cb5c213a3f3cfc243ef2f635794bd4b55c60;p=deliverable%2Flinux.git ARM: tegra: export tegra_powergate_is_powered() 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 Acked-by: Stephen Warren Tested-by: Stephen Warren Signed-off-by: Olof Johansson --- 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 @@ #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); 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) return tegra_powergate_set(id, false); } -static int tegra_powergate_is_powered(int id) +int tegra_powergate_is_powered(int id) { u32 status;