Linux 4.2.1
[linux/fpc-iii.git] / drivers / input / mouse / lifebook.h
blob0baf02a70a99345c6617c4908863e3eccf1693ac
1 /*
2 * Fujitsu B-series Lifebook PS/2 TouchScreen driver
4 * Copyright (c) 2005 Vojtech Pavlik
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License version 2 as published by
8 * the Free Software Foundation.
9 */
11 #ifndef _LIFEBOOK_H
12 #define _LIFEBOOK_H
14 #ifdef CONFIG_MOUSE_PS2_LIFEBOOK
15 void lifebook_module_init(void);
16 int lifebook_detect(struct psmouse *psmouse, bool set_properties);
17 int lifebook_init(struct psmouse *psmouse);
18 #else
19 static inline void lifebook_module_init(void)
22 static inline int lifebook_detect(struct psmouse *psmouse, bool set_properties)
24 return -ENOSYS;
26 static inline int lifebook_init(struct psmouse *psmouse)
28 return -ENOSYS;
30 #endif
32 #endif