[PATCH RESEND] media: coda: Fix DT-driver data pointer for i.MX27

Philipp Zabel p.zabel at pengutronix.de
Fri Jun 21 03:30:14 EDT 2013


Am Donnerstag, den 20.06.2013, 20:46 +0400 schrieb Alexander Shiyan:
> Signed-off-by: Alexander Shiyan <shc_work at mail.ru>
> ---
>  drivers/media/platform/coda.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/media/platform/coda.c b/drivers/media/platform/coda.c
> index 48b8d7a..1c77781 100644
> --- a/drivers/media/platform/coda.c
> +++ b/drivers/media/platform/coda.c
> @@ -1924,7 +1924,7 @@ MODULE_DEVICE_TABLE(platform, coda_platform_ids);
>  
>  #ifdef CONFIG_OF
>  static const struct of_device_id coda_dt_ids[] = {
> -	{ .compatible = "fsl,imx27-vpu", .data = &coda_platform_ids[CODA_IMX27] },
> +	{ .compatible = "fsl,imx27-vpu", .data = &coda_devdata[CODA_IMX27] },
>  	{ .compatible = "fsl,imx53-vpu", .data = &coda_devdata[CODA_IMX53] },
>  	{ /* sentinel */ }
>  };

Acked-by: Philipp Zabel <p.zabel at pengutronix.de>

thanks
Philipp




More information about the linux-arm-kernel mailing list