diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2014-08-16 17:15:34 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-09-12 10:49:33 -0400 |
commit | f3a808817fdb48a9fa3e4ed40e7f8a8dec50014c (patch) | |
tree | 0f7da67ba80a40983178114ae4fdce333018fd95 | |
parent | edbaae5a5cab89de0e64b8c03ebd9a8d5d266550 (diff) |
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>
-rw-r--r-- | include/drm/drm_modeset_lock.h | 4 |
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 @@ | |||
29 | struct drm_modeset_lock; | 29 | struct drm_modeset_lock; |
30 | 30 | ||
31 | /** | 31 | /** |
32 | * drm_modeset_acquire_ctx - locking context (see ww_acquire_ctx) | 32 | * struct drm_modeset_acquire_ctx - locking context (see ww_acquire_ctx) |
33 | * @ww_ctx: base acquire ctx | 33 | * @ww_ctx: base acquire ctx |
34 | * @contended: used internally for -EDEADLK handling | 34 | * @contended: used internally for -EDEADLK handling |
35 | * @locked: list of held locks | 35 | * @locked: list of held locks |
@@ -61,7 +61,7 @@ struct drm_modeset_acquire_ctx { | |||
61 | }; | 61 | }; |
62 | 62 | ||
63 | /** | 63 | /** |
64 | * drm_modeset_lock - used for locking modeset resources. | 64 | * struct drm_modeset_lock - used for locking modeset resources. |
65 | * @mutex: resource locking | 65 | * @mutex: resource locking |
66 | * @head: used to hold it's place on state->locked list when | 66 | * @head: used to hold it's place on state->locked list when |
67 | * part of an atomic update | 67 | * part of an atomic update |