hc
2024-05-14 bedbef8ad3e75a304af6361af235302bcc61d06b
kernel/drivers/input/mouse/alps.h
....@@ -1,12 +1,9 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * ALPS touchpad PS/2 mouse driver
34 *
45 * Copyright (c) 2003 Peter Osterlund <petero2@telia.com>
56 * Copyright (c) 2005 Vojtech Pavlik <vojtech@suse.cz>
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 _ALPS_H
....@@ -326,18 +323,7 @@
326323
327324 #define ALPS_QUIRK_TRACKSTICK_BUTTONS 1 /* trakcstick buttons in trackstick packet */
328325
329
-#ifdef CONFIG_MOUSE_PS2_ALPS
330326 int alps_detect(struct psmouse *psmouse, bool set_properties);
331327 int alps_init(struct psmouse *psmouse);
332
-#else
333
-inline int alps_detect(struct psmouse *psmouse, bool set_properties)
334
-{
335
- return -ENOSYS;
336
-}
337
-inline int alps_init(struct psmouse *psmouse)
338
-{
339
- return -ENOSYS;
340
-}
341
-#endif /* CONFIG_MOUSE_PS2_ALPS */
342328
343329 #endif