xref: /openbmc/linux/drivers/input/mouse/lifebook.h (revision b830f94f)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Fujitsu B-series Lifebook PS/2 TouchScreen driver
4  *
5  * Copyright (c) 2005 Vojtech Pavlik
6  */
7 
8 #ifndef _LIFEBOOK_H
9 #define _LIFEBOOK_H
10 
11 #ifdef CONFIG_MOUSE_PS2_LIFEBOOK
12 void lifebook_module_init(void);
13 int lifebook_detect(struct psmouse *psmouse, bool set_properties);
14 int lifebook_init(struct psmouse *psmouse);
15 #else
16 static inline void lifebook_module_init(void)
17 {
18 }
19 static inline int lifebook_detect(struct psmouse *psmouse, bool set_properties)
20 {
21 	return -ENOSYS;
22 }
23 static inline int lifebook_init(struct psmouse *psmouse)
24 {
25 	return -ENOSYS;
26 }
27 #endif
28 
29 #endif
30