hc
2024-05-14 bedbef8ad3e75a304af6361af235302bcc61d06b
kernel/drivers/input/mouse/vmmouse.h
....@@ -1,30 +1,16 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Driver for Virtual PS/2 Mouse on VMware and QEMU hypervisors.
34 *
45 * Copyright (C) 2014, VMware, Inc. All Rights Reserved.
5
- *
6
- * This program is free software; you can redistribute it and/or modify it
7
- * under the terms of the GNU General Public License version 2 as published by
8
- * the Free Software Foundation.
96 */
107
118 #ifndef _VMMOUSE_H
129 #define _VMMOUSE_H
1310
14
-#ifdef CONFIG_MOUSE_PS2_VMMOUSE
1511 #define VMMOUSE_PSNAME "VirtualPS/2"
1612
1713 int vmmouse_detect(struct psmouse *psmouse, bool set_properties);
1814 int vmmouse_init(struct psmouse *psmouse);
19
-#else
20
-static inline int vmmouse_detect(struct psmouse *psmouse, bool set_properties)
21
-{
22
- return -ENOSYS;
23
-}
24
-static inline int vmmouse_init(struct psmouse *psmouse)
25
-{
26
- return -ENOSYS;
27
-}
28
-#endif
2915
3016 #endif