rivafb_setup() must be __devinit
PATCH 1/1 rivafb_setup() must be __devinit
This patch fixes the following section mismatch:
<-- snip -->
...
MODPOST vmlinux
WARNING: drivers/built-in.o(.text+0x57106): Section mismatch: reference to .init.text:rivafb_setup (between 'rivafb_init' and 'nv3Busy')
...
<-- snip -->
Signed-off-by Adrian Bunk <[email protected]>
---
drivers/video/riva/fbdev.c renamed from drivers/video/riva/fbdev.c.old +1 -1
@@ -2146,7 +2146,7 @@* ------------------------------------------------------------------------- */ #ifndef MODULE -static int __init rivafb_setup (char *options) +static int __devinit rivafb_setup (char *options) {char *this_opt;