]> err.no Git - linux-2.6/commitdiff
rivafb_setup() must be __devinit
authorAdrian Bunk <bunk@stusta.de>
Sat, 21 Jul 2007 11:38:01 +0000 (04:38 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 22 Jul 2007 00:49:17 +0000 (17:49 -0700)
WARNING: drivers/built-in.o(.text+0x57106): Section mismatch: reference to .init.text:rivafb_setup (between 'rivafb_init' and 'nv3Busy')

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/riva/fbdev.c

index 0fe547842c643efceef03f9582e4940b7a3e2fd0..41381e61832cb61285782736e681fc039e382264 100644 (file)
@@ -2146,7 +2146,7 @@ static void __devexit rivafb_remove(struct pci_dev *pd)
  * ------------------------------------------------------------------------- */
 
 #ifndef MODULE
-static int __init rivafb_setup(char *options)
+static int __devinit rivafb_setup(char *options)
 {
        char *this_opt;