提交 70cd90be 编写于 作者: G Guenter Roeck 提交者: Greg Kroah-Hartman

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: NGuenter Roeck <linux@roeck-us.net>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 98076fa6
......@@ -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];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册