OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98076fa
)
staging: typec: pd: Document struct pd_message
author
Guenter Roeck
<linux@roeck-us.net>
Tue, 12 Sep 2017 03:32:06 +0000
(20:32 -0700)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 18 Sep 2017 08:58:31 +0000
(10:58 +0200)
struct pd_message is the format of a PD message as seen on the wire.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/typec/pd.h
patch
|
blob
|
history
diff --git
a/drivers/staging/typec/pd.h
b/drivers/staging/typec/pd.h
index
30b32ad
..
e00051c
100644
(file)
--- a/
drivers/staging/typec/pd.h
+++ b/
drivers/staging/typec/pd.h
@@
-104,6
+104,11
@@
static inline unsigned int pd_header_msgid_le(__le16 header)
#define PD_MAX_PAYLOAD 7
+/**
+ * struct pd_message - PD message as seen on wire
+ * @header: PD message header
+ * @payload: PD message payload
+ */
struct pd_message {
__le16 header;
__le32 payload[PD_MAX_PAYLOAD];