summaryrefslogtreecommitdiffstats
path: root/include/drm/drm_modeset_lock.h
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2014-08-16 23:15:34 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-09-12 16:49:33 +0200
commitf3a808817fdb48a9fa3e4ed40e7f8a8dec50014c (patch)
tree0f7da67ba80a40983178114ae4fdce333018fd95 /include/drm/drm_modeset_lock.h
parentMerge tag 'topic/vblank-rework-2014-09-12' of git://anongit.freedesktop.org/d... (diff)
downloadlinux-f3a808817fdb48a9fa3e4ed40e7f8a8dec50014c.tar.xz
linux-f3a808817fdb48a9fa3e4ed40e7f8a8dec50014c.zip
drm: fix drm_modeset_lock.h kernel-doc notation
Fix drm kernel-doc notation to squelch these warnings: Warning(..//include/drm/drm_modeset_lock.h:41): cannot understand function prototype: 'struct drm_modeset_acquire_ctx ' Warning(..//include/drm/drm_modeset_lock.h:66): cannot understand function prototype: 'struct drm_modeset_lock ' Need to include the keyword 'struct' for structure descriptions. Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include/drm/drm_modeset_lock.h')
-rw-r--r--include/drm/drm_modeset_lock.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/drm/drm_modeset_lock.h b/include/drm/drm_modeset_lock.h
index a3f736d24382..75a5c45e21c7 100644
--- a/include/drm/drm_modeset_lock.h
+++ b/include/drm/drm_modeset_lock.h
@@ -29,7 +29,7 @@
struct drm_modeset_lock;
/**
- * drm_modeset_acquire_ctx - locking context (see ww_acquire_ctx)
+ * struct drm_modeset_acquire_ctx - locking context (see ww_acquire_ctx)
* @ww_ctx: base acquire ctx
* @contended: used internally for -EDEADLK handling
* @locked: list of held locks
@@ -61,7 +61,7 @@ struct drm_modeset_acquire_ctx {
};
/**
- * drm_modeset_lock - used for locking modeset resources.
+ * struct drm_modeset_lock - used for locking modeset resources.
* @mutex: resource locking
* @head: used to hold it's place on state->locked list when
* part of an atomic update