diff options
author | Guenter Roeck <linux@roeck-us.net> | 2017-09-12 06:32:06 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-09-18 11:58:31 +0300 |
commit | 70cd90be33004ce700f762e85e4919f41af0ca48 (patch) | |
tree | 825ddef3a4598d2c0d00baacdffe9b205582fd1f /drivers/staging | |
parent | 98076fa64a05dd2bda3a9f38e171bade15ab507d (diff) | |
download | linux-70cd90be33004ce700f762e85e4919f41af0ca48.tar.xz |
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 <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/typec/pd.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/staging/typec/pd.h b/drivers/staging/typec/pd.h index 30b32ad72acd..e00051ced806 100644 --- 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]; |