Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Khem Raj and committed by
Dmitry Torokhov
bde30457 3a38958d

+2 -2
+2 -2
drivers/input/mouse/sentelic.h
··· 123 123 extern int fsp_detect(struct psmouse *psmouse, bool set_properties); 124 124 extern int fsp_init(struct psmouse *psmouse); 125 125 #else 126 - inline int fsp_detect(struct psmouse *psmouse, bool set_properties) 126 + static inline int fsp_detect(struct psmouse *psmouse, bool set_properties) 127 127 { 128 128 return -ENOSYS; 129 129 } 130 - inline int fsp_init(struct psmouse *psmouse) 130 + static inline int fsp_init(struct psmouse *psmouse) 131 131 { 132 132 return -ENOSYS; 133 133 }