.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * ALPS touchpad PS/2 mouse driver |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (c) 2003 Peter Osterlund <petero2@telia.com> |
---|
5 | 6 | * 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. |
---|
10 | 7 | */ |
---|
11 | 8 | |
---|
12 | 9 | #ifndef _ALPS_H |
---|
.. | .. |
---|
326 | 323 | |
---|
327 | 324 | #define ALPS_QUIRK_TRACKSTICK_BUTTONS 1 /* trakcstick buttons in trackstick packet */ |
---|
328 | 325 | |
---|
329 | | -#ifdef CONFIG_MOUSE_PS2_ALPS |
---|
330 | 326 | int alps_detect(struct psmouse *psmouse, bool set_properties); |
---|
331 | 327 | 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 */ |
---|
342 | 328 | |
---|
343 | 329 | #endif |
---|