diff options
authorKhem Raj <>2015-05-22 09:56:29 -0700
committerMax Krummenacher <>2016-03-21 10:52:20 +0100
commitc43b2f4952d0c4f3ff85f4da8da4fb15e958cd54 (patch)
parentac76a49eccb78ffb299bf889b69354f5ab1ef55c (diff)
Input: sentelic - use "static inline" instead of "inline"
gcc-5 defaults to gnu11 which used c99 inline semantics in c99 'inline' is not externally visible unlike gnu89, therefore we use 'static inline' which has same semantics between gnu89 and c99 Signed-off-by: Khem Raj <> Signed-off-by: Dmitry Torokhov <> (cherry picked from commit bde304575f3ecaa9570a9329196dffaadf3adafa)
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/mouse/sentelic.h b/drivers/input/mouse/sentelic.h
index ed1395ac7b8b..120e7c0ad04c 100644
--- a/drivers/input/mouse/sentelic.h
+++ b/drivers/input/mouse/sentelic.h
@@ -83,11 +83,11 @@ struct fsp_data {
extern int fsp_detect(struct psmouse *psmouse, bool set_properties);
extern int fsp_init(struct psmouse *psmouse);
-inline int fsp_detect(struct psmouse *psmouse, bool set_properties)
+static inline int fsp_detect(struct psmouse *psmouse, bool set_properties)
return -ENOSYS;
-inline int fsp_init(struct psmouse *psmouse)
+static inline int fsp_init(struct psmouse *psmouse)
return -ENOSYS;