* [2.6 patch] block/sunvdc.c:print_version() must be __devinit
@ 2008-01-30 20:03 Adrian Bunk
2008-01-30 20:15 ` Jens Axboe
0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2008-01-30 20:03 UTC (permalink / raw)
To: davem, Jens Axboe; +Cc: linux-kernel
This patch fixes the following section mismatches:
<-- snip -->
...
WARNING: drivers/block/sunvdc.o(.text+0xf0): Section mismatch in reference from the function print_version() to the variable .devinit.data:version
WARNING: drivers/block/sunvdc.o(.text+0xf8): Section mismatch in reference from the function print_version() to the variable .devinit.data:version
...
<-- snip -->
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
302ffded3690214f130c66a7343ad23a1fb7dbbc
diff --git a/drivers/block/sunvdc.c b/drivers/block/sunvdc.c
index 66e3015..a8de037 100644
--- a/drivers/block/sunvdc.c
+++ b/drivers/block/sunvdc.c
@@ -732,7 +732,7 @@ static struct vio_driver_ops vdc_vio_ops = {
.handshake_complete = vdc_handshake_complete,
};
-static void print_version(void)
+static void __devinit print_version(void)
{
static int version_printed;
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-01-30 20:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-30 20:03 [2.6 patch] block/sunvdc.c:print_version() must be __devinit Adrian Bunk
2008-01-30 20:15 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox