Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1730060

[PATCH 3/5] staging: typec: pd: Document struct pd_message

From Guenter Roeck <linux@roeck-us.net>
Newsgroups linux.kernel
Subject [PATCH 3/5] staging: typec: pd: Document struct pd_message
Date 2017-09-10 22:40 +0200
Message-ID <uohbl-Dm-11@gated-at.bofh.it> (permalink)
References <uohbj-Dm-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


struct pd_message is the format of a PD message as seen on the wire.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
---
 drivers/staging/typec/pd.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/staging/typec/pd.h b/drivers/staging/typec/pd.h
index 30b32ad72acd..42a10883a2cb 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];
-- 
2.7.4

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/5] staging: typec: tcpm: Drop commented out code Guenter Roeck <linux@roeck-us.net> - 2017-09-10 22:40 +0200
  [PATCH 3/5] staging: typec: pd: Document struct pd_message Guenter Roeck <linux@roeck-us.net> - 2017-09-10 22:40 +0200
    Re: [PATCH 3/5] staging: typec: pd: Document struct pd_message Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> - 2017-09-11 12:10 +0200
  [PATCH 2/5] staging: typec: tcpm: Document data structures Guenter Roeck <linux@roeck-us.net> - 2017-09-10 22:40 +0200
  Re: [PATCH 4/5] typec: tcpm: Move out of staging Joe Perches <joe@perches.com> - 2017-09-10 22:50 +0200
    Re: [PATCH 4/5] typec: tcpm: Move out of staging Guenter Roeck <linux@roeck-us.net> - 2017-09-10 23:20 +0200
  Re: [PATCH 1/5] staging: typec: tcpm: Drop commented out code Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-09-11 18:30 +0200
    Re: [PATCH 1/5] staging: typec: tcpm: Drop commented out code Guenter Roeck <linux@roeck-us.net> - 2017-09-11 19:40 +0200
      Re: [PATCH 1/5] staging: typec: tcpm: Drop commented out code Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-09-11 20:30 +0200
        Re: [PATCH 1/5] staging: typec: tcpm: Drop commented out code Guenter Roeck <linux@roeck-us.net> - 2017-09-11 22:00 +0200

csiph-web