aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorGabriel Krisman Bertazi <krisman@collabora.co.uk>2017-04-20 21:38:19 -0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2017-05-18 07:57:32 +0200
commit5e851c9de72b3e8316997e022f0c589429aca7a3 (patch)
tree7c997ee7e4d639b773f522d495a9afea396fe67b /include/drm
parentdrm/via: remove unneeded -Iinclude/drm compiler flag (diff)
downloadlinux-dev-5e851c9de72b3e8316997e022f0c589429aca7a3.tar.xz
linux-dev-5e851c9de72b3e8316997e022f0c589429aca7a3.zip
drm: trivial documentation fix to drm_for_each_connector_iter
While reading drm_for_each_connector_iter, I noticed a mention to drm_connector_begin which doesn't exist. It should be drm_connector_get. Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/20170421003819.17685-1-krisman@collabora.co.uk
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/drm_connector.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/drm_connector.h b/include/drm/drm_connector.h
index 9c15993b9071..2fe09c1ddfb8 100644
--- a/include/drm/drm_connector.h
+++ b/include/drm/drm_connector.h
@@ -1052,7 +1052,7 @@ void drm_connector_list_iter_end(struct drm_connector_list_iter *iter);
*
* Note that @connector is only valid within the list body, if you want to use
* @connector after calling drm_connector_list_iter_end() then you need to grab
- * your own reference first using drm_connector_begin().
+ * your own reference first using drm_connector_get().
*/
#define drm_for_each_connector_iter(connector, iter) \
while ((connector = drm_connector_list_iter_next(iter)))