aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/platform
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2013-06-15 08:09:57 -0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-09-26 17:18:26 -0700
commit4ff5ef250fb348707bad956e6eef7f84f1021675 (patch)
treebe5d876a851f855c16a0e6eb1cf3b986075bd5fb /drivers/media/platform
parentcd08ebc07c7cb27785b94a09e4b441e021ce302f (diff)
downloadlinaro-lsk-4ff5ef250fb348707bad956e6eef7f84f1021675.tar.gz
media: media: coda: Fix DT driver data pointer for i.MX27
commit 7b0dd9e60e714951b5400dd0740b3c4c3c3cb76f upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/media/platform')
-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 9d1481a60bd..c504f70d4e9 100644
--- a/drivers/media/platform/coda.c
+++ b/drivers/media/platform/coda.c
@@ -1933,7 +1933,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 */ }
};