[PATCH] MXS DMA: add end of list sentinel to platform_id list

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Thu Apr 21 05:25:37 EDT 2011


On Thu, Apr 21, 2011 at 11:22:31AM +0200, Lothar Waßmann wrote:
> Signed-off-by: Lothar Waßmann <LW at KARO-electronics.de>
Acked-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>

Thanks
Uwe

> ---
>  drivers/dma/mxs-dma.c |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/dma/mxs-dma.c b/drivers/dma/mxs-dma.c
> index e25209b..5b9b66a 100644
> --- a/drivers/dma/mxs-dma.c
> +++ b/drivers/dma/mxs-dma.c
> @@ -737,7 +737,8 @@ static struct platform_device_id mxs_dma_type[] = {
>  	}, {
>  		.name = "mxs-dma-apbx",
>  		.driver_data = MXS_DMA_APBX,
> -	}
> +	},
> +	{ /* end of list marker */ }
>  };
>  
>  static struct platform_driver mxs_dma_driver = {
> -- 
> 1.5.6.5
> 
> 

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |



More information about the linux-arm-kernel mailing list