Skip to content

Commit 70cd90b

Browse files
groeckgregkh
authored andcommitted
staging: typec: pd: Document struct pd_message
struct pd_message is the format of a PD message as seen on the wire. Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 98076fa commit 70cd90b

File tree

1 file changed

+5
-0
lines changed
  • drivers/staging/typec

1 file changed

+5
-0
lines changed

drivers/staging/typec/pd.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,11 @@ static inline unsigned int pd_header_msgid_le(__le16 header)
104104

105105
#define PD_MAX_PAYLOAD 7
106106

107+
/**
108+
* struct pd_message - PD message as seen on wire
109+
* @header: PD message header
110+
* @payload: PD message payload
111+
*/
107112
struct pd_message {
108113
__le16 header;
109114
__le32 payload[PD_MAX_PAYLOAD];

0 commit comments

Comments
 (0)