Input: lifebook - use "static inline" instead of "inline" in lifebook.h
authorChen Gang <gang.chen.5i5j@gmail.com>
Sun, 9 Nov 2014 21:31:11 +0000 (13:31 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 10 Nov 2014 06:59:25 +0000 (22:59 -0800)
commitbd447b61c49fc26f0299587db3e6d66da49dc529
tree7689f433d6817c08c89dff5ccb28d3269118b2c7
parent02b6a58b83b2f3d97addaf96ef60ad6596bf715f
Input: lifebook - use "static inline" instead of "inline" in lifebook.h

For functions defined in header files we should use static inline rather
than inline, which breaks under the latest upstream gcc (which is really
gcc issue, but static inline is better suited regardless).

The related error (with allmodconfig under tile):

    MODPOST 4002 modules
  ERROR: "lifebook_detect" [drivers/input/mouse/psmouse.ko] undefined!

Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/lifebook.h