[2.6 patch] fore200e_param_bs_queue() must be __devinit

From: Adrian Bunk
Date: Tue Jul 10 2007 - 08:45:31 EST


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@xxxxxxxxx>

---
--- 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/