]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blob - drivers/input/mouse/logips2pp.h
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500
[mirror_ubuntu-hirsute-kernel.git] / drivers / input / mouse / logips2pp.h
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Logitech PS/2++ mouse driver header
4 *
5 * Copyright (c) 2003 Vojtech Pavlik <vojtech@suse.cz>
6 */
7
8 #ifndef _LOGIPS2PP_H
9 #define _LOGIPS2PP_H
10
11 #ifdef CONFIG_MOUSE_PS2_LOGIPS2PP
12 int ps2pp_detect(struct psmouse *psmouse, bool set_properties);
13 #else
14 static inline int ps2pp_detect(struct psmouse *psmouse, bool set_properties)
15 {
16 return -ENOSYS;
17 }
18 #endif /* CONFIG_MOUSE_PS2_LOGIPS2PP */
19
20 #endif