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-07-26 07:14:00 -0300
commit66da64f06755134aee54d127bca54159fbbdcfb8 (patch)
tree5d4eb26ee6a7f51553b5b1e19a29bcb98ec2ccf8 /drivers/media
parentb2634562ad90be16441cff1127136457ea619466 (diff)
downloadop-kernel-dev-66da64f06755134aee54d127bca54159fbbdcfb8.zip
op-kernel-dev-66da64f06755134aee54d127bca54159fbbdcfb8.tar.gz
[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>
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 df4ada88..bd9405d 100644
--- a/drivers/media/platform/coda.c
+++ b/drivers/media/platform/coda.c
@@ -1987,7 +1987,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 */ }
};
OpenPOWER on IntegriCloud