diff options
authorKhem Raj <>2015-04-26 17:55:58 +0000
committerMax Krummenacher <>2015-12-02 18:12:46 +0100
commit616164d6276f1ba7ef4c51cd57938ff8787e248f (patch)
parenta3c9fcd326bd216c152189b25bd836a68e54d7f9 (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: Max Krummenacher <>
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/mouse/sentelic.h b/drivers/input/mouse/sentelic.h
index aa697ece405b..42df9e3beae8 100644
--- a/drivers/input/mouse/sentelic.h
+++ b/drivers/input/mouse/sentelic.h
@@ -123,11 +123,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;