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)
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>

No differences found