summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorDoug Anderson <dianders@chromium.org>2011-10-20 15:50:03 -0700
committerGerrit <chrome-bot@google.com>2011-10-25 11:46:27 -0700
commit57fee6619bbf503c170e5ff2a3914a9173e7c01f (patch)
tree956ab17aa60cce999488af2b67a5213d7645c1d9 /arch
parent28f587c69545fee3d7f2c3f2239d1e26bcc91141 (diff)
pmu: Move pmu.c exported function defs to non-arch pmu.h
Previously the exported function definitions for pmu.c were split among board.h, emc.c, and the architecture specific pmu.h. Create a non-architecture-specific pmu.h and put them there. NOTE: The arch/pmu.h file should probably be removed eventually in favor of the device tree, since it really just defines how a particular PMU is used by a particular family of board. BUG=chromium-os:21540 TEST=Compiled for seaboard Change-Id: Ia026e3ff3f1f465be629cc8a348879d2d1564686 Signed-off-by: Doug Anderson <dianders@chromium.org> Reviewed-on: http://gerrit.chromium.org/gerrit/10456 Reviewed-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/include/asm/arch-tegra2/pmu.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/arm/include/asm/arch-tegra2/pmu.h b/arch/arm/include/asm/arch-tegra2/pmu.h
index 140636edf19..5baab7604a6 100644
--- a/arch/arm/include/asm/arch-tegra2/pmu.h
+++ b/arch/arm/include/asm/arch-tegra2/pmu.h
@@ -21,8 +21,8 @@
* MA 02111-1307 USA
*/
-#ifndef _PMU_H_
-#define _PMU_H_
+#ifndef _ARCH_PMU_H_
+#define _ARCH_PMU_H_
#define DVC_I2C_BUS_NUMBER 0
#define PMU_I2C_ADDRESS 0x34
@@ -54,6 +54,4 @@
#define SM1_PWM_BIT 1
#define SM2_PWM_BIT 2
-int tegra2_pmu_is_voltage_nominal(void);
-
-#endif /* PMU_H */
+#endif /* _ARCH_PMU_H_ */