tegra: Make tegra_powergate_power_on public
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 21 Apr 2015 05:18:33 +0000 (07:18 +0200)
committerTom Warren <twarren@nvidia.com>
Wed, 13 May 2015 16:24:15 +0000 (09:24 -0700)
Will be used for unpowergating CPUs.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Tested-by: Thierry Reding <treding@nvidia.com>
Tested-by: Ian Campbell <ijc@hellion.org.uk>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/include/asm/arch-tegra/powergate.h
arch/arm/mach-tegra/powergate.c

index 130b58bef1b43ae5525c03d24834b43a5a2efe17..2e491f19005acac11135117fc7620efa7c4128b9 100644 (file)
@@ -33,6 +33,7 @@ enum tegra_powergate {
 
 int tegra_powergate_sequence_power_up(enum tegra_powergate id,
                                      enum periph_id periph);
+int tegra_powergate_power_on(enum tegra_powergate id);
 int tegra_powergate_power_off(enum tegra_powergate id);
 
 #endif
index 439cff36b9515764e09d2b85e49cebd9e766d04a..6331cd40fdb5c91da2b578060e8d85d47294e262 100644 (file)
@@ -44,7 +44,7 @@ static int tegra_powergate_set(enum tegra_powergate id, bool state)
        return -ETIMEDOUT;
 }
 
-static int tegra_powergate_power_on(enum tegra_powergate id)
+int tegra_powergate_power_on(enum tegra_powergate id)
 {
        return tegra_powergate_set(id, true);
 }