aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/dss/sdi.c
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@nokia.com>2010-01-20 05:11:25 -0500
committerTomi Valkeinen <tomi.valkeinen@nokia.com>2010-02-24 07:31:28 -0500
commit69b2048f44ead2d278e25d12adf0494b469ffb1c (patch)
tree3f2b462aa04ecd131d2fb4936e61c59a75a5a50c /drivers/video/omap2/dss/sdi.c
parent3651131268d7eae63efdffe6fa4a361abd44d747 (diff)
OMAP: DSS2: move timing functions
Move check/set/get_timings() from omap_dss_device to omap_dss_driver. This is part of a larger patch-set, which moves the control from omapdss driver to the display driver. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
Diffstat (limited to 'drivers/video/omap2/dss/sdi.c')
-rw-r--r--drivers/video/omap2/dss/sdi.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/video/omap2/dss/sdi.c b/drivers/video/omap2/dss/sdi.c
index 929ceb3ddd9d..12eb4042dd82 100644
--- a/drivers/video/omap2/dss/sdi.c
+++ b/drivers/video/omap2/dss/sdi.c
@@ -150,18 +150,10 @@ void omapdss_sdi_display_disable(struct omap_dss_device *dssdev)
150} 150}
151EXPORT_SYMBOL(omapdss_sdi_display_disable); 151EXPORT_SYMBOL(omapdss_sdi_display_disable);
152 152
153static void sdi_get_timings(struct omap_dss_device *dssdev,
154 struct omap_video_timings *timings)
155{
156 *timings = dssdev->panel.timings;
157}
158
159int sdi_init_display(struct omap_dss_device *dssdev) 153int sdi_init_display(struct omap_dss_device *dssdev)
160{ 154{
161 DSSDBG("SDI init\n"); 155 DSSDBG("SDI init\n");
162 156
163 dssdev->get_timings = sdi_get_timings;
164
165 return 0; 157 return 0;
166} 158}
167 159