* [PATCH] 8xx: i2c_rpx: use cpm_get_cpmp()
@ 2005-08-06 18:04 Aristeu Sergio Rozanski Filho
0 siblings, 0 replies; only message in thread
From: Aristeu Sergio Rozanski Filho @ 2005-08-06 18:04 UTC (permalink / raw)
To: Marcelo Tosatti; +Cc: linuxppc-embedded
8xx: use cpm_get_cpmp() in i2c-rpx
Signed-off-by: Aristeu Sergio Rozanski Filho <aris@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];
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-08-06 18:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-06 18:04 [PATCH] 8xx: i2c_rpx: use cpm_get_cpmp() Aristeu Sergio Rozanski Filho
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox