xref: /openbmc/linux/drivers/input/mouse/logips2pp.h (revision 113094f7)
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
21