[PATCH RFCv3 10/17] [media] DVB: Point to the generic error chapter

Mauro Carvalho Chehab
2011-07-06T18:04:23Z

Just like the V4L, MC and LIRC API's, point to the generic error
chapter for ioctl's. This will allow moving generic error codes
to just one place inside all media API's.

A latter patch will remove the generic errors from each specific
ioctl.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

diff --git a/Documentation/DocBook/media/dvb/audio.xml b/Documentation/DocBook/media/dvb/audio.xml
index c27fe73..90e9b7f 100644
--- a/Documentation/DocBook/media/dvb/audio.xml
+++ b/Documentation/DocBook/media/dvb/audio.xml
@@ -220,8 +220,7 @@ and right.
(blocking mode is the default)
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+ RETURN VALUE
<informaltable><tgroup cols="2"> <row><entry
align="char">
ENODEV
@@ -279,8 +278,7 @@ and right.
File descriptor returned by a previous call to open().
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+ RETURN VALUE
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -335,8 +333,7 @@ and right.
Size of buf.
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+ RETURN VALUE
<informaltable><tgroup cols="2"> <row><entry
align="char">
EPERM
@@ -394,8 +391,7 @@ role="subsection"> AUDIO_STOP
Equals AUDIO_STOP for this command.
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -446,8 +442,7 @@ role="subsection"> AUDIO_PLAY
Equals AUDIO_PLAY for this command.
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -506,8 +501,7 @@ role="subsection"> AUDIO_PAUSE
Equals AUDIO_PAUSE for this command.
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -563,8 +557,7 @@ with AUDIO_PAUSE command.
Equals AUDIO_CONTINUE for this command.
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -627,8 +620,7 @@ role="subsection"> AUDIO_SELECT_SOURCE
stream.
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -706,8 +698,7 @@ role="subsection"> AUDIO_SET_MUTE
FALSE Audio Un-mute
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -785,8 +776,7 @@ role="subsection"> AUDIO_SET_AV_SYNC
FALSE AV-sync OFF
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -868,8 +858,7 @@ role="subsection"> AUDIO_SET_BYPASS_MODE
FALSE Bypass is enabled
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -937,8 +926,7 @@ role="subsection"> AUDIO_CHANNEL_SELECT
stereo).
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -1005,8 +993,7 @@ role="subsection"> AUDIO_GET_STATUS
Returns the current state of Audio Device.
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -1073,8 +1060,7 @@ role="subsection"> AUDIO_GET_CAPABILITIES
Returns a bit array of supported sound formats.
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -1132,8 +1118,7 @@ role="subsection"> AUDIO_CLEAR_BUFFER
Equals AUDIO_CLEAR_BUFFER for this command.
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -1196,8 +1181,7 @@ role="subsection"> AUDIO_SET_ID
audio sub-stream id
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -1262,8 +1246,7 @@ role="subsection"> AUDIO_SET_MIXER
mixer settings.
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -1330,8 +1313,7 @@ role="subsection"> AUDIO_SET_STREAMTYPE
stream type
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -1390,8 +1372,7 @@ role="subsection"> AUDIO_SET_EXT_ID
audio sub_stream_id
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -1451,8 +1432,7 @@ role="subsection"> AUDIO_SET_ATTRIBUTES
audio attributes according to section ??
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -1512,8 +1492,7 @@ role="subsection"> AUDIO_SET_KARAOKE
karaoke settings according to section ??.
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
diff --git a/Documentation/DocBook/media/dvb/ca.xml b/Documentation/DocBook/media/dvb/ca.xml
index a6cb952..5c4adb4 100644
--- a/Documentation/DocBook/media/dvb/ca.xml
+++ b/Documentation/DocBook/media/dvb/ca.xml
@@ -158,8 +158,7 @@ typedef struct ca_pid {
(blocking mode is the default)
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+ RETURN VALUE
<informaltable><tgroup cols="2"> <row><entry
align="char">
ENODEV
@@ -217,8 +216,7 @@ typedef struct ca_pid {
File descriptor returned by a previous call to open().
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+ RETURN VALUE
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
diff --git a/Documentation/DocBook/media/dvb/demux.xml b/Documentation/DocBook/media/dvb/demux.xml
index 6758739..e5058d7 100644
--- a/Documentation/DocBook/media/dvb/demux.xml
+++ b/Documentation/DocBook/media/dvb/demux.xml
@@ -239,8 +239,7 @@ typedef enum {
(blocking mode is the default)
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+ RETURN VALUE
<informaltable><tgroup cols="2"> <row><entry
align="char">
ENODEV
@@ -299,8 +298,7 @@ typedef enum {
File descriptor returned by a previous call to open().
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+ RETURN VALUE
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -381,8 +379,7 @@ typedef enum {
Size of buf.
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+ RETURN VALUE
<informaltable><tgroup cols="2"> <row><entry
align="char">
EWOULDBLOCK
@@ -485,8 +482,7 @@ typedef enum {
Size of buf.
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+ RETURN VALUE
<informaltable><tgroup cols="2"> <row><entry
align="char">
EWOULDBLOCK
@@ -553,8 +549,7 @@ typedef enum {
Equals DMX_START for this command.
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -619,8 +614,7 @@ typedef enum {
Equals DMX_STOP for this command.
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -682,8 +676,7 @@ typedef enum {
Pointer to structure containing filter parameters.
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -755,8 +748,7 @@ typedef enum {
Pointer to structure containing filter parameters.
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -827,8 +819,7 @@ typedef enum {
Size of circular buffer.
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -900,8 +891,7 @@ typedef enum {
Pointer to the location where the event is to be stored.
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -974,8 +964,7 @@ typedef enum {
Pointer to the location where the stc is to be stored.
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
diff --git a/Documentation/DocBook/media/dvb/dvbproperty.xml b/Documentation/DocBook/media/dvb/dvbproperty.xml
index caec58c..33274bc 100644
--- a/Documentation/DocBook/media/dvb/dvbproperty.xml
+++ b/Documentation/DocBook/media/dvb/dvbproperty.xml
@@ -80,7 +80,7 @@ struct dtv_properties {
Points to the location where the front-end property commands are stored.
</entry>
</row> </tgroup></informaltable>
- ERRORS
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row>
<entry align="char"> EINVAL </entry>
<entry align="char"> Invalid parameter(s) received or number of parameters out of the range. </entry>
@@ -137,8 +137,7 @@ struct dtv_properties {
Points to the location where the front-end property commands are stored.
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row>
<entry align="char"> EINVAL </entry>
<entry align="char"> Invalid parameter(s) received or number of parameters out of the range. </entry>
diff --git a/Documentation/DocBook/media/dvb/frontend.xml b/Documentation/DocBook/media/dvb/frontend.xml
index 304d54e..c5a5cb4 100644
--- a/Documentation/DocBook/media/dvb/frontend.xml
+++ b/Documentation/DocBook/media/dvb/frontend.xml
@@ -515,8 +515,7 @@ typedef enum fe_hierarchy {
(blocking mode is the default)
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+ RETURN VALUE
<informaltable><tgroup cols="2"> <row><entry
align="char">
ENODEV
@@ -576,8 +575,7 @@ typedef enum fe_hierarchy {
File descriptor returned by a previous call to open().
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -633,8 +631,7 @@ typedef enum fe_hierarchy {
to be stored.
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+ RETURN VALUE
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -695,8 +692,7 @@ typedef enum fe_hierarchy {
The bit error rate is stored into *ber.
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -773,8 +769,7 @@ typedef enum fe_hierarchy {
</entry>
</row> </tgroup></informaltable>

- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -851,8 +846,7 @@ typedef enum fe_hierarchy {
The signal strength value is stored into *strength.
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -936,8 +930,7 @@ typedef enum fe_hierarchy {
so far.
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -1012,8 +1005,7 @@ typedef enum fe_hierarchy {
Points to parameters for tuning operation.
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -1085,8 +1077,7 @@ typedef enum fe_hierarchy {
</entry>
</row> </tgroup></informaltable>

- ERRORS
-
+&return-value-dvb;

<informaltable><tgroup cols="2"> <row><entry
align="char">
@@ -1187,8 +1178,7 @@ typedef enum fe_hierarchy {
</entry>
</row> </tgroup></informaltable>

- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -1273,8 +1263,7 @@ typedef enum fe_hierarchy {
to be stored.
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -1332,8 +1321,7 @@ typedef enum fe_hierarchy {
</entry>
</row> </tgroup></informaltable>

- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -1405,8 +1393,7 @@ typedef enum fe_hierarchy {
</entry>
</row> </tgroup></informaltable>

- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -1493,8 +1480,7 @@ typedef enum fe_hierarchy {
Pointer to the command to be received.
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -1579,8 +1565,7 @@ typedef enum fe_hierarchy {
</entry>
</row> </tgroup></informaltable>

- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -1663,8 +1648,7 @@ typedef enum fe_hierarchy {
The requested tone generation mode (on/off).
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
ENODEV
@@ -1748,8 +1732,7 @@ typedef enum fe_hierarchy {
</entry>
</row> </tgroup></informaltable>

- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
ENODEV
@@ -1834,8 +1817,7 @@ typedef enum fe_hierarchy {
</entry>
</row> </tgroup></informaltable>

- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
ENODEV
@@ -1903,7 +1885,7 @@ FE_TUNE_MODE_ONESHOT When set, this flag will disable any zigzagging or other "n
</entry>
</row> </tgroup></informaltable>

- ERRORS
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row>
<entry align="char"> EINVAL </entry>
<entry align="char"> Invalid argument. </entry>
@@ -1941,7 +1923,7 @@ sends the specified raw cmd to the dish via DISEqC.
</entry>
</row> </tgroup></informaltable>

- ERRORS
+&return-value-dvb;
<informaltable><tgroup cols="1"> <row>
<entry align="char">
There are no errors in use for this call
diff --git a/Documentation/DocBook/media/dvb/video.xml b/Documentation/DocBook/media/dvb/video.xml
index 539c79b..0b1b662 100644
--- a/Documentation/DocBook/media/dvb/video.xml
+++ b/Documentation/DocBook/media/dvb/video.xml
@@ -399,8 +399,7 @@ VIDEO_GET_NAVI:
(blocking mode is the default)
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+ RETURN VALUE
<informaltable><tgroup cols="2"> <row><entry
align="char">
ENODEV
@@ -458,8 +457,7 @@ VIDEO_GET_NAVI:
File descriptor returned by a previous call to open().
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+ RETURN VALUE
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -514,8 +512,7 @@ VIDEO_GET_NAVI:
Size of buf.
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+ RETURN VALUE
<informaltable><tgroup cols="2"> <row><entry
align="char">
EPERM
@@ -595,8 +592,7 @@ role="subsection"> VIDEO_STOP
FALSE: Show last decoded frame.
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -648,8 +644,7 @@ role="subsection"> VIDEO_PLAY
Equals VIDEO_PLAY for this command.
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -705,8 +700,7 @@ role="subsection"> VIDEO_FREEZE
Equals VIDEO_FREEZE for this command.
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -758,8 +752,7 @@ role="subsection"> VIDEO_CONTINUE
Equals VIDEO_CONTINUE for this command.
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -821,8 +814,7 @@ role="subsection"> VIDEO_SELECT_SOURCE
Indicates which source shall be used for the Video stream.
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -887,8 +879,7 @@ role="subsection"> VIDEO_SET_BLANK
FALSE: Show last decoded frame.
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -955,8 +946,7 @@ role="subsection"> VIDEO_GET_STATUS
Returns the current status of the Video Device.
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -1032,8 +1022,7 @@ role="subsection"> VIDEO_GET_EVENT
stored.
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -1115,8 +1104,7 @@ role="subsection"> VIDEO_SET_DISPLAY_FORMAT
Selects the video format to be used.
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -1185,8 +1173,7 @@ role="subsection"> VIDEO_STILLPICTURE
Pointer to a location where an I-frame and size is stored.
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -1252,8 +1239,7 @@ role="subsection"> VIDEO_FAST_FORWARD
The number of frames to skip.
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -1326,8 +1312,7 @@ role="subsection"> VIDEO_SLOWMOTION
The number of times to repeat each frame.
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -1402,8 +1387,7 @@ role="subsection"> VIDEO_GET_CAPABILITIES
information.
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -1462,8 +1446,7 @@ role="subsection"> VIDEO_SET_ID
video sub-stream id
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -1520,8 +1503,7 @@ role="subsection"> VIDEO_CLEAR_BUFFER
Equals VIDEO_CLEAR_BUFFER for this command.
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -1574,8 +1556,7 @@ role="subsection"> VIDEO_SET_STREAMTYPE
stream type
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -1635,8 +1616,7 @@ role="subsection"> VIDEO_SET_FORMAT
video format of TV as defined in section ??.
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -1697,8 +1677,7 @@ role="subsection"> VIDEO_SET_SYSTEM
video system of TV output.
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -1757,8 +1736,7 @@ role="subsection"> VIDEO_SET_HIGHLIGHT
SPU Highlight information according to section ??.
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -1818,8 +1796,7 @@ role="subsection"> VIDEO_SET_SPU
to section ??.
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -1879,8 +1856,7 @@ role="subsection"> VIDEO_SET_SPU_PALETTE
SPU palette according to section ??.
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -1941,8 +1917,7 @@ role="subsection"> VIDEO_GET_NAVI
??.
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
@@ -2003,8 +1978,7 @@ role="subsection"> VIDEO_SET_ATTRIBUTES
video attributes according to section ??.
</entry>
</row> </tgroup></informaltable>
- ERRORS
-
+&return-value-dvb;
<informaltable><tgroup cols="2"> <row><entry
align="char">
EBADF
diff --git a/Documentation/DocBook/media_api.tmpl b/Documentation/DocBook/media_api.tmpl
index bdb06bc..c3eeca7 100644
--- a/Documentation/DocBook/media_api.tmpl
+++ b/Documentation/DocBook/media_api.tmpl
@@ -9,6 +9,7 @@
<!ENTITY fd "File descriptor returned by <function>open()</function> .">
<!ENTITY i2c "I<superscript>2</superscript>C">
<!ENTITY return-value " Return Value On success <returnvalue>0</returnvalue> is returned, on error <returnvalue>-1</returnvalue> and the <varname>errno</varname> variable is set appropriately. The generic error codes are described at the Generic Error Codes chapter. ">
+<!ENTITY return-value-dvb " RETURN VALUE On success <returnvalue>0</returnvalue> is returned, on error <returnvalue>-1</returnvalue> and the <varname>errno</varname> variable is set appropriately. The generic error codes are described at the Generic Error Codes chapter. ">
<!ENTITY manvol "<manvolnum>2</manvolnum>">


--
1.7.1