diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-12-02 11:02:39 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-12-17 15:24:37 -0800 |
commit | 190e2031e2db542094659cfa55bfc28545458df5 (patch) | |
tree | c4dbcb5c7a6f64189021d9800fe8b5875e8eb697 /drivers/input/mouse/logips2pp.h | |
parent | Input: psmouse - limit protocols that we try on passthrough ports (diff) | |
download | linux-dev-190e2031e2db542094659cfa55bfc28545458df5.tar.xz linux-dev-190e2031e2db542094659cfa55bfc28545458df5.zip |
Input: psmouse - rename ps2pp_init() to ps2pp_detect()
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>
Diffstat (limited to 'drivers/input/mouse/logips2pp.h')
-rw-r--r-- | drivers/input/mouse/logips2pp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/mouse/logips2pp.h b/drivers/input/mouse/logips2pp.h index 0c186f0282d9..bf629453e095 100644 --- a/drivers/input/mouse/logips2pp.h +++ b/drivers/input/mouse/logips2pp.h @@ -12,9 +12,9 @@ #define _LOGIPS2PP_H #ifdef CONFIG_MOUSE_PS2_LOGIPS2PP -int ps2pp_init(struct psmouse *psmouse, bool set_properties); +int ps2pp_detect(struct psmouse *psmouse, bool set_properties); #else -inline int ps2pp_init(struct psmouse *psmouse, bool set_properties) +static inline int ps2pp_detect(struct psmouse *psmouse, bool set_properties) { return -ENOSYS; } |