diff options
author | Khem Raj <raj.khem@gmail.com> | 2015-05-22 09:56:29 -0700 |
---|---|---|
committer | Seung-Woo Kim <sw0312.kim@samsung.com> | 2017-01-26 15:51:02 +0900 |
commit | 764311ecece9c6e9f66ebc8b32f2229a8a77944b (patch) | |
tree | d3366b7bb5812bb9514b4066a867f6be5f6dc98d | |
parent | a60349aa38f11dbf26424c661cf141a8c45f8415 (diff) | |
download | kernel-common-764311ecece9c6e9f66ebc8b32f2229a8a77944b.tar.gz kernel-common-764311ecece9c6e9f66ebc8b32f2229a8a77944b.tar.bz2 kernel-common-764311ecece9c6e9f66ebc8b32f2229a8a77944b.zip |
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 <raj.khem@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Change-Id: Ib7cc715c890f2106a9315ec44793e1241cab75c3
-rw-r--r-- | drivers/input/mouse/sentelic.h | 4 |
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); #else -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; } |