OMAP3: I2C: hwmod: Fix PRCM module offset
diff mbox

Message ID 1289226250-11366-1-git-send-email-manjugk@ti.com
State Accepted
Delegated to: Kevin Hilman
Headers show

Commit Message

manjugk manjugk Nov. 8, 2010, 2:24 p.m. UTC
None

Patch
diff mbox

diff --git a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c b/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
index d0d8030..22831e9 100644
--- a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
+++ b/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
@@ -642,6 +642,7 @@  static struct omap_hwmod omap3xxx_i2c1_hwmod = {
 	.main_clk	= "i2c1_fck",
 	.prcm		= {
 		.omap2 = {
+			.module_offs = CORE_MOD,
 			.prcm_reg_id = 1,
 			.module_bit = OMAP3430_EN_I2C1_SHIFT,
 			.idlest_reg_id = 1,
@@ -683,6 +684,7 @@  static struct omap_hwmod omap3xxx_i2c2_hwmod = {
 	.main_clk	= "i2c2_fck",
 	.prcm		= {
 		.omap2 = {
+			.module_offs = CORE_MOD,
 			.prcm_reg_id = 1,
 			.module_bit = OMAP3430_EN_I2C2_SHIFT,
 			.idlest_reg_id = 1,
@@ -724,6 +726,7 @@  static struct omap_hwmod omap3xxx_i2c3_hwmod = {
 	.main_clk	= "i2c3_fck",
 	.prcm		= {
 		.omap2 = {
+			.module_offs = CORE_MOD,
 			.prcm_reg_id = 1,
 			.module_bit = OMAP3430_EN_I2C3_SHIFT,
 			.idlest_reg_id = 1,