hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/include/linux/serio.h
....@@ -1,9 +1,6 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 1999-2002 Vojtech Pavlik
3
-*
4
- * This program is free software; you can redistribute it and/or modify it
5
- * under the terms of the GNU General Public License version 2 as published by
6
- * the Free Software Foundation.
74 */
85 #ifndef _SERIO_H
96 #define _SERIO_H
....@@ -16,6 +13,7 @@
1613 #include <linux/mutex.h>
1714 #include <linux/device.h>
1815 #include <linux/mod_devicetable.h>
16
+#include <linux/android_kabi.h>
1917 #include <uapi/linux/serio.h>
2018
2119 extern struct bus_type serio_bus;
....@@ -64,6 +62,8 @@
6462 * may get indigestion when exposed to concurrent access (i8042).
6563 */
6664 struct mutex *ps2_cmd_mutex;
65
+
66
+ ANDROID_KABI_RESERVE(1);
6767 };
6868 #define to_serio_port(d) container_of(d, struct serio, dev)
6969
....@@ -82,6 +82,8 @@
8282 void (*cleanup)(struct serio *);
8383
8484 struct device_driver driver;
85
+
86
+ ANDROID_KABI_RESERVE(1);
8587 };
8688 #define to_serio_driver(d) container_of(d, struct serio_driver, driver)
8789