Skip to content

Commit

Permalink
drm: fix drm_modeset_lock.h kernel-doc notation
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
  • Loading branch information
rddunlap authored and danvet committed Sep 12, 2014
1 parent edbaae5 commit f3a8088
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/drm/drm_modeset_lock.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f3a8088

Please sign in to comment.