Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-or-later */
0002 /*
0003  * Focaltech TouchPad PS/2 mouse driver
0004  *
0005  * Copyright (c) 2014 Red Hat Inc.
0006  * Copyright (c) 2014 Mathias Gottschlag <mgottschlag@gmail.com>
0007  *
0008  * Red Hat authors:
0009  *
0010  * Hans de Goede <hdegoede@redhat.com>
0011  */
0012 
0013 #ifndef _FOCALTECH_H
0014 #define _FOCALTECH_H
0015 
0016 int focaltech_detect(struct psmouse *psmouse, bool set_properties);
0017 
0018 #ifdef CONFIG_MOUSE_PS2_FOCALTECH
0019 int focaltech_init(struct psmouse *psmouse);
0020 #else
0021 static inline int focaltech_init(struct psmouse *psmouse)
0022 {
0023     return -ENOSYS;
0024 }
0025 #endif
0026 
0027 #endif