]>
Commit | Line | Data |
---|---|---|
2874c5fd | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
3ace3686 HG |
2 | /* |
3 | * Focaltech TouchPad PS/2 mouse driver | |
4 | * | |
5 | * Copyright (c) 2014 Red Hat Inc. | |
05be1d07 | 6 | * Copyright (c) 2014 Mathias Gottschlag <mgottschlag@gmail.com> |
3ace3686 | 7 | * |
3ace3686 HG |
8 | * Red Hat authors: |
9 | * | |
10 | * Hans de Goede <hdegoede@redhat.com> | |
11 | */ | |
12 | ||
13 | #ifndef _FOCALTECH_H | |
14 | #define _FOCALTECH_H | |
15 | ||
16 | int focaltech_detect(struct psmouse *psmouse, bool set_properties); | |
2b6f39e9 DT |
17 | |
18 | #ifdef CONFIG_MOUSE_PS2_FOCALTECH | |
3ace3686 | 19 | int focaltech_init(struct psmouse *psmouse); |
2b6f39e9 DT |
20 | #else |
21 | static inline int focaltech_init(struct psmouse *psmouse) | |
22 | { | |
23 | return -ENOSYS; | |
24 | } | |
25 | #endif | |
3ace3686 HG |
26 | |
27 | #endif |