diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-07-24 06:01:34 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-08-30 01:51:10 -0400 |
commit | a73fdc647417699833f22d0f239affe22e062827 (patch) | |
tree | 604d506d15df8e16ff80b9682af42f1916eadb23 /include/video/omapdss.h | |
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/video/omapdss.h')
-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 763b11b58153..5fa81ddb43ad 100644 --- a/include/video/omapdss.h +++ b/include/video/omapdss.h | |||
@@ -774,7 +774,7 @@ struct omap_dss_device { | |||
774 | 774 | ||
775 | enum omap_display_caps caps; | 775 | enum omap_display_caps caps; |
776 | 776 | ||
777 | struct omap_dss_device *output; | 777 | struct omap_dss_device *src; |
778 | 778 | ||
779 | enum omap_dss_display_state state; | 779 | enum omap_dss_display_state state; |
780 | 780 | ||
@@ -1011,7 +1011,7 @@ void dss_mgr_unregister_framedone_handler(struct omap_overlay_manager *mgr, | |||
1011 | 1011 | ||
1012 | static inline bool omapdss_device_is_connected(struct omap_dss_device *dssdev) | 1012 | static inline bool omapdss_device_is_connected(struct omap_dss_device *dssdev) |
1013 | { | 1013 | { |
1014 | return dssdev->output; | 1014 | return dssdev->src; |
1015 | } | 1015 | } |
1016 | 1016 | ||
1017 | static inline bool omapdss_device_is_enabled(struct omap_dss_device *dssdev) | 1017 | static inline bool omapdss_device_is_enabled(struct omap_dss_device *dssdev) |