[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20070710124438.GT3492@stusta.de>
Date: Tue, 10 Jul 2007 14:44:38 +0200
From: Adrian Bunk <bunk@...sta.de>
To: jgarzik@...ox.com
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [2.6 patch] fore200e_param_bs_queue() must be __devinit
This patch fixes the following section mismatch:
<-- snip -->
...
MODPOST vmlinux
WARNING: drivers/built-in.o(.text+0x6203bb): Section mismatch: reference to .init.text:fore200e_param_bs_queue (between 'fore200e_initialize' and 'fore200e_monitor_putc')
...
<-- snip -->
Signed-off-by: Adrian Bunk <bunk@...sta.de>
---
--- linux-2.6.22-rc6-mm1/drivers/atm/fore200e.c.old 2007-07-10 04:11:43.000000000 +0200
+++ linux-2.6.22-rc6-mm1/drivers/atm/fore200e.c 2007-07-10 04:12:48.000000000 +0200
@@ -2435,7 +2435,7 @@
}
-static void __init
+static void __devinit
fore200e_param_bs_queue(struct fore200e* fore200e,
enum buffer_scheme scheme, enum buffer_magn magn,
int queue_length, int pool_size, int supply_blksize)
-
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