blob: 783b28e8e10bec5b7013ae4f964afe6583e09ce2 [file] [log] [blame]
Hans de Goede3ace3682014-09-12 17:24:47 -07001/*
2 * Focaltech TouchPad PS/2 mouse driver
3 *
4 * Copyright (c) 2014 Red Hat Inc.
Mathias Gottschlag05be1d02014-12-29 09:26:35 -08005 * Copyright (c) 2014 Mathias Gottschlag <mgottschlag@gmail.com>
Hans de Goede3ace3682014-09-12 17:24:47 -07006 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
11 *
12 * Red Hat authors:
13 *
14 * Hans de Goede <hdegoede@redhat.com>
15 */
16
17#ifndef _FOCALTECH_H
18#define _FOCALTECH_H
19
20int focaltech_detect(struct psmouse *psmouse, bool set_properties);
Dmitry Torokhov2b6f39e2015-11-27 20:52:36 -080021
22#ifdef CONFIG_MOUSE_PS2_FOCALTECH
Hans de Goede3ace3682014-09-12 17:24:47 -070023int focaltech_init(struct psmouse *psmouse);
Dmitry Torokhov2b6f39e2015-11-27 20:52:36 -080024#else
25static inline int focaltech_init(struct psmouse *psmouse)
26{
27 return -ENOSYS;
28}
29#endif
Hans de Goede3ace3682014-09-12 17:24:47 -070030
31#endif