ARM: tegra: Export tegra_powergate_is_powered()
Antti P Miettinen [Thu, 19 Apr 2012 21:14:01 +0000 (00:14 +0300)]
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>

arch/arm/mach-tegra/powergate.c

index 27bc3fc..4c0d8be 100644 (file)
@@ -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)
 {