OMAPDSS: move 'dss_initialized' to dss driver
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 4 Jun 2015 09:35:42 +0000 (12:35 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 17 Jun 2015 10:44:20 +0000 (13:44 +0300)
commitf99467b3549be1c87757e564d18eea6e541060c4
treeacb7767190a508fb4b2158a6c7aa3d4bbdec0905
parentc65b99f046843d2455aa231747b5a07a999a9f3d
OMAPDSS: move 'dss_initialized' to dss driver

We have a flag, 'dss_initialized', which tells omapfb and omapdrm if
omapdss is available. At the moment it can be set even if the dss
submodules are not all ready, in case something gets deferred.

Move the flag to dss_core driver so that it'll signal the availability
of the dss drivers move accurately.

For now, it'll signal that dss_core is ready, which is not quite correct
but still better than previously.  The following patches will add
component system to omapdss, and after those patches 'dss_initialized'
will signal that all the submodules are ready.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
drivers/video/fbdev/omap2/dss/core.c
drivers/video/fbdev/omap2/dss/dss.c