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