media: documentation: fix video_event description
authorArnd Bergmann <arnd@arndb.de>
Mon, 16 Dec 2019 14:14:59 +0000 (15:14 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 3 Jan 2020 14:40:28 +0000 (15:40 +0100)
The type for the timestamp in video_event was changed to
'long' a long time ago, change the documentation to match.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Documentation/media/uapi/dvb/video-get-event.rst
Documentation/media/uapi/dvb/video_types.rst

index def6c40..7f03fbe 100644 (file)
@@ -81,7 +81,7 @@ for this ioctl call.
        #define VIDEO_EVENT_FRAME_RATE_CHANGED  2
        #define VIDEO_EVENT_DECODER_STOPPED     3
        #define VIDEO_EVENT_VSYNC               4
-               __kernel_time_t timestamp;
+               long timestamp;
                union {
                        video_size_t size;
                        unsigned int frame_rate;        /* in frames per 1000sec */
index 479942c..2697400 100644 (file)
@@ -170,7 +170,7 @@ VIDEO_GET_EVENT call.
     #define VIDEO_EVENT_FRAME_RATE_CHANGED  2
     #define VIDEO_EVENT_DECODER_STOPPED     3
     #define VIDEO_EVENT_VSYNC       4
-       __kernel_time_t timestamp;
+       long timestamp;
        union {
            video_size_t size;
            unsigned int frame_rate;    /* in frames per 1000sec */