hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/include/media/videobuf-core.h
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * generic helper functions for handling video4linux capture buffers
34 *
....@@ -7,10 +8,6 @@
78 * (c) 2001,02 Gerd Knorr <kraxel@bytesex.org>
89 * (c) 2006 Mauro Carvalho Chehab, <mchehab@kernel.org>
910 * (c) 2006 Ted Walther and John Sokol
10
- *
11
- * This program is free software; you can redistribute it and/or modify
12
- * it under the terms of the GNU General Public License as published by
13
- * the Free Software Foundation; either version 2
1411 */
1512
1613 #ifndef _VIDEOBUF_CORE_H
....@@ -43,7 +40,7 @@
4340 * (which v4l2 uses).
4441 *
4542 * If there is a valid mapping for a buffer, buffer->baddr/bsize holds
46
- * userspace address + size which can be feeded into the
43
+ * userspace address + size which can be fed into the
4744 * videobuf_dma_init_user function listed above.
4845 *
4946 */
....@@ -80,7 +77,7 @@
8077 struct list_head queue;
8178 wait_queue_head_t done;
8279 unsigned int field_count;
83
- struct timeval ts;
80
+ u64 ts;
8481
8582 /* Memory type */
8683 enum v4l2_memory memory;