From: Andres Salomon Date: Tue, 29 Jun 2010 22:05:20 +0000 (-0700) Subject: lxfb: fix incorrect __init annotation X-Git-Tag: v2.6.35-rc4~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12c46b336540b483df10d794bdee5d2f1aa8e33a;p=pandora-kernel.git 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 Cc: Jordan Crouse Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed