mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
drm/doc: use preferred struct reference in kernel-doc
sed -e 's/\( \* .*\)struct &\([_a-z]*\)/\1\&struct \2/' -i Originally I wasnt a friend of this style because I thought a line-break between the "&struct" and "foo" part would break it. But a quick test shows that " * &struct \n * foo\n" works pefectly well with current kernel-doc. So time to mass-apply these changes! Cc: Jani Nikula <jani.nikula@linux.intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: David Herrmann <dh.herrmann@gmail.com> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1483044517-5770-6-git-send-email-daniel.vetter@ffwll.ch
This commit is contained in:
parent
e9b4d7b56f
commit
ea0dd85a75
31 changed files with 76 additions and 76 deletions
|
@ -51,7 +51,7 @@ struct drm_framebuffer_funcs {
|
|||
* @create_handle:
|
||||
*
|
||||
* Create a buffer handle in the driver-specific buffer manager (either
|
||||
* GEM or TTM) valid for the passed-in struct &drm_file. This is used by
|
||||
* GEM or TTM) valid for the passed-in &struct drm_file. This is used by
|
||||
* the core to implement the GETFB IOCTL, which returns (for
|
||||
* sufficiently priviledged user) also a native buffer handle. This can
|
||||
* be used for seamless transitions between modesetting clients by
|
||||
|
@ -149,7 +149,7 @@ struct drm_framebuffer {
|
|||
*
|
||||
* This should not be used to specifiy x/y pixel offsets into the buffer
|
||||
* data (even for linear buffers). Specifying an x/y pixel offset is
|
||||
* instead done through the source rectangle in struct &drm_plane_state.
|
||||
* instead done through the source rectangle in &struct drm_plane_state.
|
||||
*/
|
||||
unsigned int offsets[4];
|
||||
/**
|
||||
|
@ -187,7 +187,7 @@ struct drm_framebuffer {
|
|||
*/
|
||||
int hot_y;
|
||||
/**
|
||||
* @filp_head: Placed on struct &drm_file fbs list_head, protected by
|
||||
* @filp_head: Placed on &struct drm_file fbs list_head, protected by
|
||||
* fbs_lock in the same structure.
|
||||
*/
|
||||
struct list_head filp_head;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue