diff mbox

ARM: tegra: Export I/O rail functions

Message ID 1393344516-5660-1-git-send-email-thierry.reding@gmail.com
State Accepted, archived
Headers show

Commit Message

Thierry Reding Feb. 25, 2014, 4:08 p.m. UTC
From: Thierry Reding <treding@nvidia.com>

The I/O rail functions can be used by drivers that are buildable as
modules. Exporting the functions makes sure that they're available.

Signed-off-by: Thierry Reding <treding@nvidia.com>
---
 arch/arm/mach-tegra/powergate.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Stephen Warren Feb. 25, 2014, 8:18 p.m. UTC | #1
On 02/25/2014 09:08 AM, Thierry Reding wrote:
> The I/O rail functions can be used by drivers that are buildable as
> modules. Exporting the functions makes sure that they're available.

I have applied this to Tegra's for-3.15/soc 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 3d0c537d9b94..4cefc5cd6bed 100644
--- a/arch/arm/mach-tegra/powergate.c
+++ b/arch/arm/mach-tegra/powergate.c
@@ -484,6 +484,7 @@  int tegra_io_rail_power_on(int id)
 
 	return 0;
 }
+EXPORT_SYMBOL(tegra_io_rail_power_on);
 
 int tegra_io_rail_power_off(int id)
 {
@@ -511,3 +512,4 @@  int tegra_io_rail_power_off(int id)
 
 	return 0;
 }
+EXPORT_SYMBOL(tegra_io_rail_power_off);