[PATCH 30/47] [media] ca-get-msg.rst: add a boilerplate for struct ca_msg

Mauro Carvalho Chehab
2016-09-08T12:04:25Z

There are no descriptions at ca.h header for this struct.
Yet, as we want to get rid of the warnings, let's add a
boilerplate, with just the struct types and fields.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
---
Documentation/media/uapi/dvb/ca-get-msg.rst | 33 ++++++++++++++++++++++++++++-
1 file changed, 32 insertions(+), 1 deletion(-)

diff --git a/Documentation/media/uapi/dvb/ca-get-msg.rst b/Documentation/media/uapi/dvb/ca-get-msg.rst
index 880995230909..03b2a602f02a 100644
--- a/Documentation/media/uapi/dvb/ca-get-msg.rst
+++ b/Documentation/media/uapi/dvb/ca-get-msg.rst
@@ -26,7 +26,38 @@ Arguments
File descriptor returned by a previous call to :c:func:`open() <dvb-ca-open>`.

``msg``
- Undocumented.
+ Pointer to struct :c:type:`ca_msg`.
+
+
+.. c:type:: struct ca_msg
+
+.. flat-table:: struct ca_msg
+ :header-rows: 1
+ :stub-columns: 0
+
+ -
+ - type
+ - name
+ - description
+ -
+ - unsigned int
+ - index
+ -
+
+ -
+ - unsigned int
+ - type
+ -
+
+ -
+ - unsigned int
+ - length
+ -
+
+ -
+ - unsigned char
+ - msg[256]
+ -

Description
--
2.7.4