Input: i8042 - mark stubs in i8042.h "static inline"
authorFeng Tang <feng.tang@intel.com>
Wed, 30 Jun 2010 07:53:53 +0000 (00:53 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 30 Jun 2010 08:21:38 +0000 (01:21 -0700)
commitc59690fa484c04ab96fe932241b569a09755a4d2
treeebc009b73b806007868a2a6f13357dfe90d89132
parent3267a87f9dc38d036571ff0880533d9ae8989f01
Input: i8042 - mark stubs in i8042.h "static inline"

Otherwise we may run into following:

drivers/platform/built-in.o: In function `i8042_lock_chip':
/home/test/ws2/projects/linux-2.6/include/linux/i8042.h:50: multiple definition of `i8042_lock_chip'
drivers/input/serio/built-in.o:/home/test/ws2/projects/linux-2.6/include/linux/i8042.h:50: first defined here
...
make[1]: *** [drivers/built-in.o] Error 1
make: *** [drivers] Error 2

Signed-off-by: Feng Tang <feng.tang@intel.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
include/linux/i8042.h