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