* [2.6 patch] rivafb_setup() must be __devinit
@ 2007-07-10 12:44 Adrian Bunk
0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2007-07-10 12:44 UTC (permalink / raw)
To: adaplas; +Cc: linux-kernel
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 <bunk@stusta.de>
---
--- linux-2.6.22-rc6-mm1/drivers/video/riva/fbdev.c.old 2007-07-10 03:54:58.000000000 +0200
+++ linux-2.6.22-rc6-mm1/drivers/video/riva/fbdev.c 2007-07-10 03:55:17.000000000 +0200
@@ -2146,7 +2146,7 @@
* ------------------------------------------------------------------------- */
#ifndef MODULE
-static int __init rivafb_setup(char *options)
+static int __devinit rivafb_setup(char *options)
{
char *this_opt;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-07-10 12:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-10 12:44 [2.6 patch] rivafb_setup() must be __devinit Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®