hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/include/media/v4l2-event.h
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * v4l2-event.h
34 *
....@@ -6,15 +7,6 @@
67 * Copyright (C) 2009--2010 Nokia Corporation.
78 *
89 * Contact: Sakari Ailus <sakari.ailus@iki.fi>
9
- *
10
- * This program is free software; you can redistribute it and/or
11
- * modify it under the terms of the GNU General Public License
12
- * version 2 as published by the Free Software Foundation.
13
- *
14
- * This program is distributed in the hope that it will be useful, but
15
- * WITHOUT ANY WARRANTY; without even the implied warranty of
16
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17
- * General Public License for more details.
1810 */
1911
2012 #ifndef V4L2_EVENT_H
....@@ -34,11 +26,13 @@
3426 * @list: List node for the v4l2_fh->available list.
3527 * @sev: Pointer to parent v4l2_subscribed_event.
3628 * @event: The event itself.
29
+ * @ts: The timestamp of the event.
3730 */
3831 struct v4l2_kevent {
3932 struct list_head list;
4033 struct v4l2_subscribed_event *sev;
4134 struct v4l2_event event;
35
+ u64 ts;
4236 };
4337
4438 /**