| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|---|
| 1 | 2 | /*- |
|---|
| 2 | 3 | * Finger Sensing Pad PS/2 mouse driver. |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2005-2007 Asia Vital Components Co., Ltd. |
|---|
| 5 | 6 | * 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. |
|---|
| 20 | 7 | */ |
|---|
| 21 | 8 | |
|---|
| 22 | 9 | #ifndef __SENTELIC_H |
|---|
| .. | .. |
|---|
| 119 | 106 | unsigned int last_mt_fgr; /* Last seen finger(multitouch) */ |
|---|
| 120 | 107 | }; |
|---|
| 121 | 108 | |
|---|
| 122 | | -#ifdef CONFIG_MOUSE_PS2_SENTELIC |
|---|
| 123 | 109 | extern int fsp_detect(struct psmouse *psmouse, bool set_properties); |
|---|
| 124 | 110 | 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 |
|---|
| 135 | 111 | |
|---|
| 136 | 112 | #endif /* __KERNEL__ */ |
|---|
| 137 | 113 | |
|---|