Thomas Gleixner | 2874c5f | 2019-05-27 08:55:01 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
Hans de Goede | 3ace368 | 2014-09-12 17:24:47 -0700 | [diff] [blame] | 2 | /* |
| 3 | * Focaltech TouchPad PS/2 mouse driver |
| 4 | * |
| 5 | * Copyright (c) 2014 Red Hat Inc. |
Mathias Gottschlag | 05be1d0 | 2014-12-29 09:26:35 -0800 | [diff] [blame] | 6 | * Copyright (c) 2014 Mathias Gottschlag <mgottschlag@gmail.com> |
Hans de Goede | 3ace368 | 2014-09-12 17:24:47 -0700 | [diff] [blame] | 7 | * |
Hans de Goede | 3ace368 | 2014-09-12 17:24:47 -0700 | [diff] [blame] | 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); |
Dmitry Torokhov | 2b6f39e | 2015-11-27 20:52:36 -0800 | [diff] [blame] | 17 | |
| 18 | #ifdef CONFIG_MOUSE_PS2_FOCALTECH |
Hans de Goede | 3ace368 | 2014-09-12 17:24:47 -0700 | [diff] [blame] | 19 | int focaltech_init(struct psmouse *psmouse); |
Dmitry Torokhov | 2b6f39e | 2015-11-27 20:52:36 -0800 | [diff] [blame] | 20 | #else |
| 21 | static inline int focaltech_init(struct psmouse *psmouse) |
| 22 | { |
| 23 | return -ENOSYS; |
| 24 | } |
| 25 | #endif |
Hans de Goede | 3ace368 | 2014-09-12 17:24:47 -0700 | [diff] [blame] | 26 | |
| 27 | #endif |