summaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/dss/dss.h
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2012-09-07 14:44:30 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2012-09-18 15:15:03 +0200
commit47eb6763ff63126e34785be0ea5f365180595024 (patch)
tree011f05a72dfe3ab10e1a2b566f5cf3562cf0f6a1 /drivers/video/omap2/dss/dss.h
parentOMAPDSS: explicitely initialize dssdev->channel for new displays (diff)
downloadlinux-47eb6763ff63126e34785be0ea5f365180595024.tar.xz
linux-47eb6763ff63126e34785be0ea5f365180595024.zip
OMAPDSS: handle errors in dss_init_device
Add error handling to dss_init_device(), which has, for some reason, been missing. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2/dss/dss.h')
-rw-r--r--drivers/video/omap2/dss/dss.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/omap2/dss/dss.h b/drivers/video/omap2/dss/dss.h
index a977826d850c..98e82731c60a 100644
--- a/drivers/video/omap2/dss/dss.h
+++ b/drivers/video/omap2/dss/dss.h
@@ -228,7 +228,7 @@ int dss_suspend_all_devices(void);
int dss_resume_all_devices(void);
void dss_disable_all_devices(void);
-void dss_init_device(struct platform_device *pdev,
+int dss_init_device(struct platform_device *pdev,
struct omap_dss_device *dssdev);
void dss_uninit_device(struct platform_device *pdev,
struct omap_dss_device *dssdev);