diff options
author | Roman Kiryanov <rkir@google.com> | 2018-08-27 20:23:04 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-09-14 15:31:30 +0200 |
commit | 46928cc6ff6d3734eda0194f4dce840989d4f19d (patch) | |
tree | efca8121ae9236edf5546b0f657753dc8a3336eb /drivers/platform/goldfish | |
parent | platform: goldfish: pipe: Replace pr_ with dev_ for logging (diff) | |
download | linux-46928cc6ff6d3734eda0194f4dce840989d4f19d.tar.xz linux-46928cc6ff6d3734eda0194f4dce840989d4f19d.zip |
platform: goldfish: pipe: Add blank lines to separate struct members
To improve readability and to be consistent with other
struct members.
Signed-off-by: Roman Kiryanov <rkir@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/platform/goldfish')
-rw-r--r-- | drivers/platform/goldfish/goldfish_pipe.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/platform/goldfish/goldfish_pipe.c b/drivers/platform/goldfish/goldfish_pipe.c index a61cd444e8ff..62422a4282f5 100644 --- a/drivers/platform/goldfish/goldfish_pipe.c +++ b/drivers/platform/goldfish/goldfish_pipe.c @@ -130,11 +130,13 @@ struct goldfish_pipe_dev_buffers { struct goldfish_pipe { /* pipe ID - index into goldfish_pipe_dev::pipes array */ u32 id; + /* The wake flags pipe is waiting for * Note: not protected with any lock, uses atomic operations * and barriers to make it thread-safe. */ unsigned long flags; + /* wake flags host have signalled, * - protected by goldfish_pipe_dev::lock */ @@ -158,6 +160,7 @@ struct goldfish_pipe { /* A wake queue for sleeping until host signals an event */ wait_queue_head_t wake_queue; + /* Pointer to the parent goldfish_pipe_dev instance */ struct goldfish_pipe_dev *dev; }; |