diff mbox

[1/2] ARM: tegra: Export tegra_powergate_sequence_power_up()

Message ID 1364502904-5284-1-git-send-email-thierry.reding@avionic-design.de
State Accepted, archived
Headers show

Commit Message

Thierry Reding March 28, 2013, 8:35 p.m. UTC
This function can be used by drivers to enable power to the hardware
blocks that they drive. Most of the drivers can be built as a module
and therefore require this function to be exported.

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
---
 arch/arm/mach-tegra/powergate.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Stephen Warren March 29, 2013, 4:39 p.m. UTC | #1
On 03/28/2013 02:35 PM, Thierry Reding wrote:
> This function can be used by drivers to enable power to the hardware
> blocks that they drive. Most of the drivers can be built as a module
> and therefore require this function to be exported.

I applied the series to Tegra's for-3.10/fixes branch.
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm/mach-tegra/powergate.c b/arch/arm/mach-tegra/powergate.c
index c6bc8f8..c472bed 100644
--- a/arch/arm/mach-tegra/powergate.c
+++ b/arch/arm/mach-tegra/powergate.c
@@ -22,6 +22,7 @@ 
 #include <linux/debugfs.h>
 #include <linux/delay.h>
 #include <linux/err.h>
+#include <linux/export.h>
 #include <linux/init.h>
 #include <linux/io.h>
 #include <linux/seq_file.h>
@@ -168,6 +169,7 @@  err_clk:
 err_power:
 	return ret;
 }
+EXPORT_SYMBOL(tegra_powergate_sequence_power_up);
 
 int tegra_cpu_powergate_id(int cpuid)
 {