Skip to contentSkip to conversation

ARM: tegra: Export tegra_powergate_power_off()

PATCH Applied Thierry Reding 2 participants 3 messages Dec 6, 2013 – Dec 12, 2013 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 ARM: tegra: Export tegra_powergate_power_off()

This function can be used by drivers, which in turn may be built as modules. Export the symbol so it is available to modules.

---
 arch/arm/mach-tegra/powergate.c | 1 +
 1 file changed, 1 insertion(+)
arch/arm/mach-tegra/powergate.c +1 -0
index c5c74925eb62..3724679fefce 100644
@@ -132,6 +132,7 @@ int tegra_powergate_power_off(int id)
 
 	return tegra_powergate_set(id, false);
 }
+EXPORT_SYMBOL(tegra_powergate_power_off);
 
 int tegra_powergate_is_powered(int id)
 {
Signature · 1 line
1.8.4.2

A message that is not in the archive (sent off-list or not yet received): 1386344996-8179-1-git-send-email-treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org

#2 lore raw

PATCH 2/2 ARM: tegra: Export tegra_powergate_remove_clamping()

Drivers can use the tegra_powergate_remove_clamping() API during initialization. In order to allow such drivers to be built as modules, export the symbol.

---
 arch/arm/mach-tegra/powergate.c | 1 +
 1 file changed, 1 insertion(+)
arch/arm/mach-tegra/powergate.c +1 -0
index 3724679fefce..b988411cedbc 100644
@@ -178,6 +178,7 @@ int tegra_powergate_remove_clamping(int id)
 
 	return 0;
 }
+EXPORT_SYMBOL(tegra_powergate_remove_clamping);
 
 /* Must be called with clk disabled, and returns with clk enabled */
 int tegra_powergate_sequence_power_up(int id, struct clk *clk)
Signature · 1 line
1.8.4.2