| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Logitech PS/2++ mouse driver header |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (c) 2003 Vojtech Pavlik <vojtech@suse.cz> |
|---|
| 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 _LOGIPS2PP_H |
|---|
| 12 | 9 | #define _LOGIPS2PP_H |
|---|
| 13 | 10 | |
|---|
| 14 | | -#ifdef CONFIG_MOUSE_PS2_LOGIPS2PP |
|---|
| 15 | 11 | int ps2pp_detect(struct psmouse *psmouse, bool set_properties); |
|---|
| 16 | | -#else |
|---|
| 17 | | -static inline int ps2pp_detect(struct psmouse *psmouse, bool set_properties) |
|---|
| 18 | | -{ |
|---|
| 19 | | - return -ENOSYS; |
|---|
| 20 | | -} |
|---|
| 21 | | -#endif /* CONFIG_MOUSE_PS2_LOGIPS2PP */ |
|---|
| 22 | 12 | |
|---|
| 23 | 13 | #endif |
|---|