hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/drivers/input/mouse/lifebook.h
....@@ -1,31 +1,21 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Fujitsu B-series Lifebook PS/2 TouchScreen driver
34 *
45 * 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.
96 */
107
118 #ifndef _LIFEBOOK_H
129 #define _LIFEBOOK_H
1310
14
-#ifdef CONFIG_MOUSE_PS2_LIFEBOOK
15
-void lifebook_module_init(void);
1611 int lifebook_detect(struct psmouse *psmouse, bool set_properties);
1712 int lifebook_init(struct psmouse *psmouse);
13
+
14
+#ifdef CONFIG_MOUSE_PS2_LIFEBOOK
15
+void lifebook_module_init(void);
1816 #else
1917 static inline void lifebook_module_init(void)
2018 {
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;
2919 }
3020 #endif
3121