[media] docs-rst: fix warnings introduced by LaTeX patchset

Sphinx is really pedantic with respect to the order where
table tags and references are created. Putting things at
the wrong order causes troubles.

The order that seems to work is:

	.. raw:: latex

	.. tabularcolumns::

	.. _foo_name:

	.. cssclass: longtable

	.. flat-table::

Reorder the tags to the above order, to avoid troubles, and
fix remaining warnings introduced by media recent patches.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
diff --git a/Documentation/media/uapi/v4l/vidioc-dqevent.rst b/Documentation/media/uapi/v4l/vidioc-dqevent.rst
index ad4b826..e5be2a5 100644
--- a/Documentation/media/uapi/v4l/vidioc-dqevent.rst
+++ b/Documentation/media/uapi/v4l/vidioc-dqevent.rst
@@ -40,10 +40,10 @@
 call.
 
 
-.. _v4l2-event:
-
 .. tabularcolumns:: |p{3.0cm}|p{4.3cm}|p{2.5cm}|p{7.7cm}|
 
+.. _v4l2-event:
+
 .. cssclass: longtable
 
 .. flat-table:: struct v4l2_event
@@ -179,12 +179,12 @@
 
 
 
-.. _event-type:
-
 .. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
 
 .. cssclass:: longtable
 
+.. _event-type:
+
 .. flat-table:: Event Types
     :header-rows:  0
     :stub-columns: 0
@@ -310,10 +310,10 @@
 
 
 
-.. _v4l2-event-vsync:
-
 .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}|
 
+.. _v4l2-event-vsync:
+
 .. flat-table:: struct v4l2_event_vsync
     :header-rows:  0
     :stub-columns: 0
@@ -330,10 +330,10 @@
 
 
 
-.. _v4l2-event-ctrl:
-
 .. tabularcolumns:: |p{3.5cm}|p{3.0cm}|p{1.8cm}|p{8.5cm}|
 
+.. _v4l2-event-ctrl:
+
 .. flat-table:: struct v4l2_event_ctrl
     :header-rows:  0
     :stub-columns: 0
@@ -439,10 +439,10 @@
 
 
 
-.. _v4l2-event-frame-sync:
-
 .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}|
 
+.. _v4l2-event-frame-sync:
+
 .. flat-table:: struct v4l2_event_frame_sync
     :header-rows:  0
     :stub-columns: 0
@@ -459,10 +459,10 @@
 
 
 
-.. _v4l2-event-src-change:
-
 .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}|
 
+.. _v4l2-event-src-change:
+
 .. flat-table:: struct v4l2_event_src_change
     :header-rows:  0
     :stub-columns: 0
@@ -480,10 +480,10 @@
 
 
 
-.. _v4l2-event-motion-det:
-
 .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}|
 
+.. _v4l2-event-motion-det:
+
 .. flat-table:: struct v4l2_event_motion_det
     :header-rows:  0
     :stub-columns: 0
@@ -525,10 +525,10 @@
 
 
 
-.. _ctrl-changes-flags:
-
 .. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
 
+.. _ctrl-changes-flags:
+
 .. flat-table:: Control Changes
     :header-rows:  0
     :stub-columns: 0
@@ -566,10 +566,10 @@
 
 
 
-.. _src-changes-flags:
-
 .. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
 
+.. _src-changes-flags:
+
 .. flat-table:: Source Changes
     :header-rows:  0
     :stub-columns: 0