From: Andres Salomon Date: Tue, 29 Jun 2010 22:05:19 +0000 (-0700) Subject: gxfb: fix incorrect __init annotation X-Git-Tag: v2.6.35-rc4~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=500ebb82b50194f97a53d17a152cfb734ced9f21;p=pandora-kernel.git gxfb: fix incorrect __init annotation WARNING: vmlinux.o(.data+0x195d8): Section mismatch in reference from the variable gxfb_driver to the function .init.text:gxfb_probe() The variable gxfb_driver references the function __init gxfb_probe() This changes gxfb_probe and friends to use __devinit, and also adds __devexit to gxfb_remove. Signed-off-by: Andres Salomon Cc: Jordan Crouse Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed