Skip to content

Commit

Permalink
rivafb_setup() must be __devinit
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Jul 22, 2007
1 parent 250a269 commit 7cc9024
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/video/riva/fbdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 7cc9024

Please sign in to comment.