VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git] / drivers / i2c / busses / i2c-rpx.c
index 5d4ee2c..9497b1b 100644 (file)
@@ -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 = 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);
 }