git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git]
/
drivers
/
i2c
/
busses
/
i2c-rpx.c
diff --git
a/drivers/i2c/busses/i2c-rpx.c
b/drivers/i2c/busses/i2c-rpx.c
index
5d4ee2c
..
9497b1b
100644
(file)
--- a/
drivers/i2c/busses/i2c-rpx.c
+++ b/
drivers/i2c/busses/i2c-rpx.c
@@
-50,8
+50,8
@@
rpx_iic_init(struct i2c_algo_8xx_data *data)
/* Allocate space for two transmit and two receive buffer
* descriptors in the DP ram.
*/
/* Allocate space for two transmit and two receive buffer
* descriptors in the DP ram.
*/
- data->dp_addr =
m8xx_cpm_dpalloc(sizeof(cbd_t) * 4
);
-
+ data->dp_addr =
cpm_dpalloc(sizeof(cbd_t) * 4, 8
);
+
/* ptr to i2c area */
data->i2c = (i2c8xx_t *)&(((immap_t *)IMAP_ADDR)->im_i2c);
}
/* ptr to i2c area */
data->i2c = (i2c8xx_t *)&(((immap_t *)IMAP_ADDR)->im_i2c);
}