X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fi2c%2Fbusses%2Fi2c-rpx.c;h=5d4ee2c4ea08c341fbb113ad933c274477f2b3da;hb=1be35e94e1da3669db492995cd2c8b1a37016b11;hp=9497b1b6852ffbe19645638b06e7cd8db27410ea;hpb=a91482bdcc2e0f6035702e46f1b99043a0893346;p=linux-2.6.git diff --git a/drivers/i2c/busses/i2c-rpx.c b/drivers/i2c/busses/i2c-rpx.c index 9497b1b68..5d4ee2c4e 100644 --- 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. */ - data->dp_addr = cpm_dpalloc(sizeof(cbd_t) * 4, 8); - + data->dp_addr = m8xx_cpm_dpalloc(sizeof(cbd_t) * 4); + /* ptr to i2c area */ data->i2c = (i2c8xx_t *)&(((immap_t *)IMAP_ADDR)->im_i2c); }