| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * IBM TrackPoint PS/2 mouse driver |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Stephen Evanchik <evanchsa@gmail.com> |
|---|
| 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 _TRACKPOINT_H |
|---|
| .. | .. |
|---|
| 160 | 157 | bool ext_dev; |
|---|
| 161 | 158 | }; |
|---|
| 162 | 159 | |
|---|
| 163 | | -#ifdef CONFIG_MOUSE_PS2_TRACKPOINT |
|---|
| 164 | 160 | int trackpoint_detect(struct psmouse *psmouse, bool set_properties); |
|---|
| 165 | | -#else |
|---|
| 166 | | -static inline int trackpoint_detect(struct psmouse *psmouse, |
|---|
| 167 | | - bool set_properties) |
|---|
| 168 | | -{ |
|---|
| 169 | | - return -ENOSYS; |
|---|
| 170 | | -} |
|---|
| 171 | | -#endif /* CONFIG_MOUSE_PS2_TRACKPOINT */ |
|---|
| 172 | 161 | |
|---|
| 173 | 162 | #endif /* _TRACKPOINT_H */ |
|---|