mlli_params.mlli_virt_addr is just a buffer of memory.
This allows to drop a cast.
No change in generated code.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
                goto build_mlli_exit;
        }
        /* Point to start of MLLI */
-       mlli_p = (u32 *)mlli_params->mlli_virt_addr;
+       mlli_p = mlli_params->mlli_virt_addr;
        /* go over all SG's and link it to one MLLI table */
        for (i = 0; i < sg_data->num_of_buffers; i++) {
                union buffer_array_entry *entry = &sg_data->entry[i];
 
 
 struct mlli_params {
        struct dma_pool *curr_pool;
-       u8 *mlli_virt_addr;
+       void *mlli_virt_addr;
        dma_addr_t mlli_dma_addr;
        u32 mlli_len;
 };