Hi, On Mon, Aug 08, 2011 at 10:32:38AM +0200, Per Forlin wrote:
[snip]
> -/* Work function invoked from DMA callback to handle rx transfers. */
> -static void ux500_rx_work(struct work_struct *data)
> +void ux500_dma_callback(void *private_data)
> {
> - struct ux500_dma_channel *ux500_channel = container_of(data,
> - struct ux500_dma_channel, channel_work);
> + struct dma_channel *channel = (struct dma_channel *)private_data;
you don't need to explicitly cast a void pointer, please remove that.
--
balbi
signature.asc
Description: Digital signature
_______________________________________________ linaro-dev mailing list [email protected] http://lists.linaro.org/mailman/listinfo/linaro-dev
