hc
2024-05-14 bedbef8ad3e75a304af6361af235302bcc61d06b
kernel/drivers/input/mouse/trackpoint.h
....@@ -1,11 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * IBM TrackPoint PS/2 mouse driver
34 *
45 * Stephen Evanchik <evanchsa@gmail.com>
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 _TRACKPOINT_H
....@@ -160,14 +157,6 @@
160157 bool ext_dev;
161158 };
162159
163
-#ifdef CONFIG_MOUSE_PS2_TRACKPOINT
164160 int trackpoint_detect(struct psmouse *psmouse, bool set_properties);
165
-#else
166
-static inline int trackpoint_detect(struct psmouse *psmouse,
167
- bool set_properties)
168
-{
169
- return -ENOSYS;
170
-}
171
-#endif /* CONFIG_MOUSE_PS2_TRACKPOINT */
172161
173162 #endif /* _TRACKPOINT_H */