[PATCH 32/47] [media] ca-set-pid.rst: document struct ca_pid

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

Add a table describing the fields on this struct, based
on ca.h header.

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

diff --git a/Documentation/media/uapi/dvb/ca-set-pid.rst b/Documentation/media/uapi/dvb/ca-set-pid.rst
index 8e13ad9595d3..06bdaf4afada 100644
--- a/Documentation/media/uapi/dvb/ca-set-pid.rst
+++ b/Documentation/media/uapi/dvb/ca-set-pid.rst
@@ -26,7 +26,24 @@ Arguments
File descriptor returned by a previous call to :c:func:`open() <dvb-ca-open>`.

``pid``
- Undocumented.
+ Pointer to struct :c:type:`ca_pid`.
+
+.. c:type:: ca_pid
+
+.. flat-table:: struct ca_pid
+ :header-rows: 1
+ :stub-columns: 0
+
+ -
+ - unsigned int
+ - pid
+ - Program ID
+
+ -
+ - int
+ - index
+ - PID index. Use -1 to disable.
+

Description
--
2.7.4