summaryrefslogtreecommitdiff
path: root/drivers/media/platform/omap3isp
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@iki.fi>2015-03-26 01:57:39 +0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-04-02 22:48:07 +0300
commitf95c16ea70cac9987f5cdc28b937ba83ce8f0f98 (patch)
tree07c651e2d48ec497d30df61bcf07a7383c4a3b52 /drivers/media/platform/omap3isp
parentda7f3843d2c797419af6befcc0fdd54f6e13b6f4 (diff)
downloadlinux-f95c16ea70cac9987f5cdc28b937ba83ce8f0f98.tar.xz
[media] omap3isp: Deprecate platform data support
Print a warning when the driver is used with platform data. Existing platform data users should move to DT now. Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/platform/omap3isp')
-rw-r--r--drivers/media/platform/omap3isp/isp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/platform/omap3isp/isp.c b/drivers/media/platform/omap3isp/isp.c
index 9ef7e035aa6c..ff51c4f9d35e 100644
--- a/drivers/media/platform/omap3isp/isp.c
+++ b/drivers/media/platform/omap3isp/isp.c
@@ -2456,6 +2456,8 @@ static int isp_probe(struct platform_device *pdev)
isp->syscon = syscon_regmap_lookup_by_pdevname("syscon.0");
if (IS_ERR(isp->syscon))
return PTR_ERR(isp->syscon);
+ dev_warn(&pdev->dev,
+ "Platform data support is deprecated! Please move to DT now!\n");
}
isp->autoidle = autoidle;