OMAPDSS: get the dss version from core pdev
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 18 Oct 2012 10:46:29 +0000 (13:46 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 24 Oct 2012 05:48:16 +0000 (08:48 +0300)
commitb2c7d54f72c1c588e8851c882f0465705f5e9e55
tree67fa3ecc82feef0f99acb938c613e355f87f0bf3
parent998c336d4c7183301ed6a6ca93952f63e3cf694f
OMAPDSS: get the dss version from core pdev

The output drivers get the omapdss hw version from the platform data for
their respective output device. This doesn't work with DT, as there's no
platform data for them.

Add a new function, omapdss_get_version(), which returns the dss version
from the core device, which will have platform data on DT also. The
function is exported so that users of omapdss can also use it.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/core.c
drivers/video/omap2/dss/dispc.c
drivers/video/omap2/dss/dss.c
drivers/video/omap2/dss/hdmi.c
include/video/omapdss.h