gxfb: fix incorrect __init annotation
authorAndres Salomon <dilinger@queued.net>
Tue, 29 Jun 2010 22:05:19 +0000 (15:05 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Jun 2010 22:29:31 +0000 (15:29 -0700)
commit500ebb82b50194f97a53d17a152cfb734ced9f21
treec66f970773552da4f51c2033ecdb3b77e6947001
parent4d845ebf4cf9e985b1704b1f08b37f744b4ede13
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 <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/gxfb_core.c