aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/vc3xxx_data.c
diff options
context:
space:
mode:
authorKevin Hilman <khilman@ti.com>2011-03-16 16:35:22 -0400
committerKevin Hilman <khilman@ti.com>2011-09-15 14:39:09 -0400
commita7460daf15239563b3e7bb862580f90da78541bd (patch)
tree42faec056fe7dde136dadc6d7ed96861f5431325 /arch/arm/mach-omap2/vc3xxx_data.c
parentfa17f20f686a90004a8af403e24cc8443e8144f3 (diff)
OMAP2+: voltage: move PRCM mod offets into VC/VP structures
Eliminate need for global variables for the various PRM module offsets by making them part of the VP/VC common structures Eventually, these will likely be moved again, or more likely removed when VP/VC code is isolated, but for now just getting rid of them as global variabes so that the voltage domain initialization can be cleaned up. Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/vc3xxx_data.c')
-rw-r--r--arch/arm/mach-omap2/vc3xxx_data.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/vc3xxx_data.c b/arch/arm/mach-omap2/vc3xxx_data.c
index f37dc4bc379..55caccb2908 100644
--- a/arch/arm/mach-omap2/vc3xxx_data.c
+++ b/arch/arm/mach-omap2/vc3xxx_data.c
@@ -30,6 +30,7 @@
30 * XXX This stuff presumably belongs in the vc3xxx.c or vc.c file. 30 * XXX This stuff presumably belongs in the vc3xxx.c or vc.c file.
31 */ 31 */
32static struct omap_vc_common_data omap3_vc_common = { 32static struct omap_vc_common_data omap3_vc_common = {
33 .prm_mod = OMAP3430_GR_MOD,
33 .smps_sa_reg = OMAP3_PRM_VC_SMPS_SA_OFFSET, 34 .smps_sa_reg = OMAP3_PRM_VC_SMPS_SA_OFFSET,
34 .smps_volra_reg = OMAP3_PRM_VC_SMPS_VOL_RA_OFFSET, 35 .smps_volra_reg = OMAP3_PRM_VC_SMPS_VOL_RA_OFFSET,
35 .bypass_val_reg = OMAP3_PRM_VC_BYPASS_VAL_OFFSET, 36 .bypass_val_reg = OMAP3_PRM_VC_BYPASS_VAL_OFFSET,