diff options
author | Adrian Bunk | 2007-07-21 13:38:01 +0200 |
---|---|---|
committer | Linus Torvalds | 2007-07-22 02:49:17 +0200 |
commit | 7cc90249ff0e21c526532ce5b5ba35c07c8b8389 (patch) | |
tree | 95f0357e297771d180f2fe66d0b4002bffdea304 /drivers/video | |
parent | atmel_lcdfb: Fix STN LCD support (diff) | |
download | kernel-qcow2-linux-7cc90249ff0e21c526532ce5b5ba35c07c8b8389.tar.gz kernel-qcow2-linux-7cc90249ff0e21c526532ce5b5ba35c07c8b8389.tar.xz kernel-qcow2-linux-7cc90249ff0e21c526532ce5b5ba35c07c8b8389.zip |
rivafb_setup() must be __devinit
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>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/riva/fbdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/riva/fbdev.c b/drivers/video/riva/fbdev.c index 0fe547842c64..41381e61832c 100644 --- a/drivers/video/riva/fbdev.c +++ b/drivers/video/riva/fbdev.c @@ -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; |