hc
2024-05-10 ee930fffee469d076998274a2ca55e13dc1efb67
kernel/drivers/input/mouse/sentelic.h
....@@ -1,22 +1,9 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*-
23 * Finger Sensing Pad PS/2 mouse driver.
34 *
45 * Copyright (C) 2005-2007 Asia Vital Components Co., Ltd.
56 * Copyright (C) 2005-2012 Tai-hwa Liang, Sentelic Corporation.
6
- *
7
- * This program is free software; you can redistribute it and/or
8
- * modify it under the terms of the GNU General Public License
9
- * as published by the Free Software Foundation; either version 2
10
- * of the License, or (at your option) any later version.
11
- *
12
- * This program is distributed in the hope that it will be useful,
13
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
- * GNU General Public License for more details.
16
- *
17
- * You should have received a copy of the GNU General Public License
18
- * along with this program; if not, write to the Free Software
19
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
207 */
218
229 #ifndef __SENTELIC_H
....@@ -119,19 +106,8 @@
119106 unsigned int last_mt_fgr; /* Last seen finger(multitouch) */
120107 };
121108
122
-#ifdef CONFIG_MOUSE_PS2_SENTELIC
123109 extern int fsp_detect(struct psmouse *psmouse, bool set_properties);
124110 extern int fsp_init(struct psmouse *psmouse);
125
-#else
126
-static inline int fsp_detect(struct psmouse *psmouse, bool set_properties)
127
-{
128
- return -ENOSYS;
129
-}
130
-static inline int fsp_init(struct psmouse *psmouse)
131
-{
132
- return -ENOSYS;
133
-}
134
-#endif
135111
136112 #endif /* __KERNEL__ */
137113