8xx: use cpm_get_cpmp() in i2c-rpx

Signed-off-by: Aristeu Sergio Rozanski Filho <aris at cathedrallabs.org>

Index: 2.6-8xx/drivers/i2c/busses/i2c-rpx.c
===================================================================
--- 2.6-8xx.orig/drivers/i2c/busses/i2c-rpx.c   2005-08-05 17:05:36.000000000 
-0300
+++ 2.6-8xx/drivers/i2c/busses/i2c-rpx.c        2005-08-05 17:15:20.000000000 
-0300
@@ -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];

Reply via email to