Input: parkbd - drop bogus __init from parkbd_allocate_serio()
authorGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 9 Nov 2015 17:26:44 +0000 (09:26 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 9 Nov 2015 17:59:58 +0000 (09:59 -0800)
commit5e0baca8b3247f459af50947eaafc68bb8168b33
tree0f64bcc1c31935f38dc120e7781a3963d7948f06
parent60603950f836ef4e88daddf61a273b91e671db2d
Input: parkbd - drop bogus __init from parkbd_allocate_serio()

WARNING: vmlinux.o(.text+0x1056606): Section mismatch in reference from the function parkbd_attach() to the function .init.text:parkbd_allocate_serio()
The function parkbd_attach() references
the function __init parkbd_allocate_serio().
This is often because parkbd_attach lacks a __init
annotation or the annotation of parkbd_allocate_serio is wrong.

Commit 33ca8ab97cbb676d ("Input: parkbd - use parallel port device
model") dropped the __init attribute from the sole caller of
parkbd_allocate_serio(), but forgot to remove it from
parkbd_allocate_serio() itself.

Fixes: 33ca8ab97cbb676d ("Input: parkbd - use parallel port device model")
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/serio/parkbd.c