summaryrefslogtreecommitdiff
path: root/drivers/video/of_videomode.c
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2013-03-21 16:20:12 +0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-03-21 16:34:33 +0400
commit6cd2c7db41eab204b6474534df4ca68a7dc53d86 (patch)
treeb559543ced377ff12f7285fff3459374d66afc3c /drivers/video/of_videomode.c
parent694f050650798b82f2c7b9983e80117d58b34bf3 (diff)
downloadlinux-6cd2c7db41eab204b6474534df4ca68a7dc53d86.tar.xz
videomode: videomode_from_timing work
We currently have videomode_from_timing(), which takes one display_timing entry from display_timings. To make it easier to use display_timing without display_timings, this patch renames videomode_from_timing() to videomode_from_timings(), and adds a new videomode_from_timing() which just converts a given display_timing to videomode. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Cc: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Diffstat (limited to 'drivers/video/of_videomode.c')
-rw-r--r--drivers/video/of_videomode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/of_videomode.c b/drivers/video/of_videomode.c
index 5b8066cd397f..111c2d1911d3 100644
--- a/drivers/video/of_videomode.c
+++ b/drivers/video/of_videomode.c
@@ -43,7 +43,7 @@ int of_get_videomode(struct device_node *np, struct videomode *vm,
if (index == OF_USE_NATIVE_MODE)
index = disp->native_mode;
- ret = videomode_from_timing(disp, vm, index);
+ ret = videomode_from_timings(disp, vm, index);
if (ret)
return ret;