From: Adrian Bunk Date: Wed, 30 Jan 2008 20:17:23 +0000 (+0100) Subject: block/sunvdc.c:print_version() must be __devinit X-Git-Tag: v2.6.25-rc1~1085^2~8 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=e30f98fcac9a203534454ffa6069c9b5fd2404ef;p=linux-2.6-omap-h63xx.git block/sunvdc.c:print_version() must be __devinit 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 Signed-off-by: Jens Axboe --- diff --git a/drivers/block/sunvdc.c b/drivers/block/sunvdc.c index 66e30155b0a..a8de037ecd4 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;