hc
2024-05-14 bedbef8ad3e75a304af6361af235302bcc61d06b
kernel/drivers/input/mouse/touchkit_ps2.h
....@@ -1,25 +1,14 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /* ----------------------------------------------------------------------------
23 * touchkit_ps2.h -- Driver for eGalax TouchKit PS/2 Touchscreens
34 *
45 * Copyright (C) 2005 by Stefan Lucke
56 * Copyright (c) 2005 Vojtech Pavlik
6
- *
7
- * This program is free software; you can redistribute it and/or modify it
8
- * under the terms of the GNU General Public License version 2 as published by
9
- * the Free Software Foundation.
107 */
118
129 #ifndef _TOUCHKIT_PS2_H
1310 #define _TOUCHKIT_PS2_H
1411
15
-#ifdef CONFIG_MOUSE_PS2_TOUCHKIT
1612 int touchkit_ps2_detect(struct psmouse *psmouse, bool set_properties);
17
-#else
18
-static inline int touchkit_ps2_detect(struct psmouse *psmouse,
19
- bool set_properties)
20
-{
21
- return -ENOSYS;
22
-}
23
-#endif /* CONFIG_MOUSE_PS2_TOUCHKIT */
2413
2514 #endif