Skip to contentSkip to conversation

8xx: i2c_rpx: use cpm_get_cpmp()

PATCH New Aristeu Sergio Rozanski Filho 1 participant 1 message Aug 6, 2005 I2C subsystem host drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 8xx: i2c_rpx: use cpm_get_cpmp()

8xx: use cpm_get_cpmp() in i2c-rpx

drivers/i2c/busses/i2c-rpx.c +1 -1
Index: 2.6-8xx/drivers/i2c/busses/i2c-rpx.c
===================================================================
@@ -27,7 +27,7 @@
 	volatile cpm8xx_t *cp;
 	volatile immap_t *immap;
 
-	cp = cpmp;	/* Get pointer to Communication Processor */
+	cp = cpm_get_cpmp();	/* Get pointer to Communication Processor */
 	immap = (immap_t *)IMAP_ADDR;	/* and to internal registers */
 
 	data->iip = (iic_t *)&cp->cp_dparam[PROFF_IIC];