mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-24 21:24:00 +08:00
190e2031e2
This makes Logitech PS2++ protocol implementation consistent with the naming in other protocols. Also mark the stub as "static inline" Reviewed-by: Hans de Goede <hdegoede@redhat.com> Tested-by: Marcin Sochacki <msochacki+kernel@gmail.com> Tested-by: Till <till2.schaefer@uni-dortmund.de> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
24 lines
588 B
C
24 lines
588 B
C
/*
|
|
* Logitech PS/2++ mouse driver header
|
|
*
|
|
* Copyright (c) 2003 Vojtech Pavlik <vojtech@suse.cz>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms of the GNU General Public License version 2 as published by
|
|
* the Free Software Foundation.
|
|
*/
|
|
|
|
#ifndef _LOGIPS2PP_H
|
|
#define _LOGIPS2PP_H
|
|
|
|
#ifdef CONFIG_MOUSE_PS2_LOGIPS2PP
|
|
int ps2pp_detect(struct psmouse *psmouse, bool set_properties);
|
|
#else
|
|
static inline int ps2pp_detect(struct psmouse *psmouse, bool set_properties)
|
|
{
|
|
return -ENOSYS;
|
|
}
|
|
#endif /* CONFIG_MOUSE_PS2_LOGIPS2PP */
|
|
|
|
#endif
|