diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-07-24 13:01:34 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-08-30 08:51:10 +0300 |
commit | a73fdc647417699833f22d0f239affe22e062827 (patch) | |
tree | 604d506d15df8e16ff80b9682af42f1916eadb23 /include | |
parent | b3864299c1602efabcdb87d0264a45845530b7c9 (diff) |
OMAPDSS: rename omap_dss_device's 'output' to 'src'
In the old panel device model we had "outputs", which were the encoders
inside OMAP DSS block, and panel devices (omap_dss_device). The panel
devices had a reference to the source of the video data, i.e. reference
to an "output", in a field named "output".
That was somewhat confusing even in the old panel device model, but even
more so with the panel device model where we can have longer chains of
display entities.
This patch renames the "output" field to "src", which much better tells
what the field points to.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Archit Taneja <archit@ti.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/video/omapdss.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/video/omapdss.h b/include/video/omapdss.h index 763b11b5815..5fa81ddb43a 100644 --- a/include/video/omapdss.h +++ b/include/video/omapdss.h @@ -774,7 +774,7 @@ struct omap_dss_device { enum omap_display_caps caps; - struct omap_dss_device *output; + struct omap_dss_device *src; enum omap_dss_display_state state; @@ -1011,7 +1011,7 @@ void dss_mgr_unregister_framedone_handler(struct omap_overlay_manager *mgr, static inline bool omapdss_device_is_connected(struct omap_dss_device *dssdev) { - return dssdev->output; + return dssdev->src; } static inline bool omapdss_device_is_enabled(struct omap_dss_device *dssdev) |