blob: 0d9023254e2d3d94f3fffb42accdd0110dbad400 [file] [log] [blame]
Thomas Gleixner2874c5f2019-05-27 08:55:01 +02001/* SPDX-License-Identifier: GPL-2.0-or-later */
Hans de Goede3ace3682014-09-12 17:24:47 -07002/*
3 * Focaltech TouchPad PS/2 mouse driver
4 *
5 * Copyright (c) 2014 Red Hat Inc.
Mathias Gottschlag05be1d02014-12-29 09:26:35 -08006 * Copyright (c) 2014 Mathias Gottschlag <mgottschlag@gmail.com>
Hans de Goede3ace3682014-09-12 17:24:47 -07007 *
Hans de Goede3ace3682014-09-12 17:24:47 -07008 * Red Hat authors:
9 *
10 * Hans de Goede <hdegoede@redhat.com>
11 */
12
13#ifndef _FOCALTECH_H
14#define _FOCALTECH_H
15
16int focaltech_detect(struct psmouse *psmouse, bool set_properties);
Dmitry Torokhov2b6f39e2015-11-27 20:52:36 -080017
18#ifdef CONFIG_MOUSE_PS2_FOCALTECH
Hans de Goede3ace3682014-09-12 17:24:47 -070019int focaltech_init(struct psmouse *psmouse);
Dmitry Torokhov2b6f39e2015-11-27 20:52:36 -080020#else
21static inline int focaltech_init(struct psmouse *psmouse)
22{
23 return -ENOSYS;
24}
25#endif
Hans de Goede3ace3682014-09-12 17:24:47 -070026
27#endif