summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2013-06-15 08:09:57 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2013-09-03 09:24:16 -0300
commit7b0dd9e60e714951b5400dd0740b3c4c3c3cb76f (patch)
tree87467216e03b9c06a112ae5540b7eb72ba3c17c9 /drivers/media
parent19c2813c2882c7ecc6e1e8813f54ace495cfbe9a (diff)
[media] media: coda: Fix DT driver data pointer for i.MX27
The data pointer should point to DT data, and not to the ID array. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Kamil Debski <k.debski@samsung.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/platform/coda.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/coda.c b/drivers/media/platform/coda.c
index 999f9dc0e10..449d2fec9e8 100644
--- a/drivers/media/platform/coda.c
+++ b/drivers/media/platform/coda.c
@@ -3109,7 +3109,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 */ }
};