Commit 7cc90249 authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds

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: default avatarAdrian Bunk <bunk@stusta.de>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 250a269d
...@@ -2146,7 +2146,7 @@ static void __devexit rivafb_remove(struct pci_dev *pd) ...@@ -2146,7 +2146,7 @@ static void __devexit rivafb_remove(struct pci_dev *pd)
* ------------------------------------------------------------------------- */ * ------------------------------------------------------------------------- */
#ifndef MODULE #ifndef MODULE
static int __init rivafb_setup(char *options) static int __devinit rivafb_setup(char *options)
{ {
char *this_opt; char *this_opt;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment