]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7dff84fdd607837c584d9bc6bb9e0d556ed34ddf
treec66f970773552da4f51c2033ecdb3b77e6947001
parent9cc22a2c394f17d9b6ae26158f37b2fe398d7c08
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