]> git.baikalelectronics.ru Git - kernel.git/commit
lxfb: fix incorrect __init annotation
authorAndres Salomon <dilinger@queued.net>
Tue, 29 Jun 2010 22:05:20 +0000 (15:05 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Jun 2010 22:29:31 +0000 (15:29 -0700)
commit1057a2ff7bb08601a119bdb7dd3ca56b4220483c
treefed145696f2b1fc2474956a6cf9664d8ba091f85
parent7dff84fdd607837c584d9bc6bb9e0d556ed34ddf
lxfb: fix incorrect __init annotation

WARNING: vmlinux.o(.data+0x196e8): Section mismatch in reference from the
variable lxfb_driver to the function .init.text:lxfb_probe() The variable
lxfb_driver references the function __init lxfb_probe()

This changes lxfb_probe and friends to use __devinit, and also adds
__devexit to lxfb_remove.

Signed-off-by: Andres Salomon <dilinger@queued.net>
Cc: Jordan Crouse <jordan.crouse@amd.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/geode/lxfb_core.c