diff options
author | Mauro Carvalho Chehab | 2016-08-15 17:52:13 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab | 2016-08-22 10:04:16 -0300 |
commit | 806da2986f08756c8ee8831e39237dddc96afc38 (patch) | |
tree | ef950ae96ca8ba0c128a2bf8a68faee8d830755a /Documentation/media/uapi/v4l/vidioc-querycap.rst | |
parent | b6b6e67824ec0593878afbee5958d80205606210 (diff) |
[media] docs-rst: get rid of code-block inside tables
There are two tables with a C code-block inside it. Unfortunately,
that causes LaTeX output to break. Yet, there's nothing special
there, so let's remove the code-block from them.
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Documentation/media/uapi/v4l/vidioc-querycap.rst')
-rw-r--r-- | Documentation/media/uapi/v4l/vidioc-querycap.rst | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/Documentation/media/uapi/v4l/vidioc-querycap.rst b/Documentation/media/uapi/v4l/vidioc-querycap.rst index b10fed313f99..f37fc3badcdf 100644 --- a/Documentation/media/uapi/v4l/vidioc-querycap.rst +++ b/Documentation/media/uapi/v4l/vidioc-querycap.rst @@ -117,17 +117,11 @@ specification the ioctl returns an ``EINVAL`` error code. - :cspan:`2` + ``#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))`` - .. code-block:: c + ``__u32 version = KERNEL_VERSION(0, 8, 1);`` - #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c)) - - __u32 version = KERNEL_VERSION(0, 8, 1); - - printf ("Version: %u.%u.%u\\n", - (version >> 16) & 0xFF, - (version >> 8) & 0xFF, - version & 0xFF); + ``printf ("Version: %u.%u.%u\\n", (version >> 16) & 0xFF, (version >> 8) & 0xFF, version & 0xFF);`` - .. row 6 |