[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20070710124433.GQ3492@stusta.de>
Date: Tue, 10 Jul 2007 14:44:33 +0200
From: Adrian Bunk <bunk@...sta.de>
To: adaplas@...il.com
Cc: linux-kernel@...r.kernel.org
Subject: [2.6 patch] 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 <bunk@...sta.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;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists