]>
Commit | Line | Data |
---|---|---|
d2912cb1 | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
02d7f589 KE |
2 | /* |
3 | * Fujitsu B-series Lifebook PS/2 TouchScreen driver | |
4 | * | |
5 | * Copyright (c) 2005 Vojtech Pavlik | |
02d7f589 KE |
6 | */ |
7 | ||
8 | #ifndef _LIFEBOOK_H | |
9 | #define _LIFEBOOK_H | |
10 | ||
55e3d922 | 11 | #ifdef CONFIG_MOUSE_PS2_LIFEBOOK |
7705d548 | 12 | void lifebook_module_init(void); |
b7802c5c | 13 | int lifebook_detect(struct psmouse *psmouse, bool set_properties); |
a15d60f8 | 14 | int lifebook_init(struct psmouse *psmouse); |
55e3d922 | 15 | #else |
bd447b61 | 16 | static inline void lifebook_module_init(void) |
7705d548 DT |
17 | { |
18 | } | |
bd447b61 | 19 | static inline int lifebook_detect(struct psmouse *psmouse, bool set_properties) |
55e3d922 AS |
20 | { |
21 | return -ENOSYS; | |
22 | } | |
bd447b61 | 23 | static inline int lifebook_init(struct psmouse *psmouse) |
55e3d922 AS |
24 | { |
25 | return -ENOSYS; | |
26 | } | |
27 | #endif | |
02d7f589 KE |
28 | |
29 | #endif |