diff options
author | Antti P Miettinen <amiettinen@nvidia.com> | 2012-04-20 00:14:01 +0300 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2012-05-06 20:46:44 -0700 |
commit | a4913d47f62e96cb5638092d90fbc8990bac2cc6 (patch) | |
tree | 13128ba585f6a6dedc2cd9f329ca81a2aa55ce14 /arch/arm/mach-tegra/powergate.c | |
parent | 21b0a6a05fdfb7c9ae4a15cda13747ecc8ee1f3d (diff) |
ARM: tegra: Export tegra_powergate_is_powered()
Export tegra_powergate_is_powered() for use by modules.
Change-Id: I8cfbb8aeb95dca00cbf6ef0c8c2bd189afeb62b6
Signed-off-by: Antti P Miettinen <amiettinen@nvidia.com>
Reviewed-on: http://git-master/r/97724
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/powergate.c')
-rw-r--r-- | arch/arm/mach-tegra/powergate.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/powergate.c b/arch/arm/mach-tegra/powergate.c index 27bc3fc67e48..4c0d8bec276e 100644 --- a/arch/arm/mach-tegra/powergate.c +++ b/arch/arm/mach-tegra/powergate.c @@ -19,6 +19,7 @@ */ #include <linux/kernel.h> +#include <linux/module.h> #include <linux/clk.h> #include <linux/debugfs.h> #include <linux/delay.h> @@ -493,6 +494,7 @@ bool tegra_powergate_is_powered(int id) status = pmc_read(PWRGATE_STATUS) & (1 << id); return !!status; } +EXPORT_SYMBOL(tegra_powergate_is_powered); int tegra_powergate_remove_clamping(int id) { |