diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-01-30 15:17:23 -0500 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2008-02-01 03:26:32 -0500 |
commit | e30f98fcac9a203534454ffa6069c9b5fd2404ef (patch) | |
tree | a7d5c53aab6af9641de7d7ae31535b13df998ab9 | |
parent | 8084870854fe181996c4aa4f44cb2fabcebf164c (diff) |
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 <bunk@kernel.org>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
-rw-r--r-- | drivers/block/sunvdc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/sunvdc.c b/drivers/block/sunvdc.c index 66e30155b0ab..a8de037ecd4a 100644 --- a/drivers/block/sunvdc.c +++ b/drivers/block/sunvdc.c | |||
@@ -732,7 +732,7 @@ static struct vio_driver_ops vdc_vio_ops = { | |||
732 | .handshake_complete = vdc_handshake_complete, | 732 | .handshake_complete = vdc_handshake_complete, |
733 | }; | 733 | }; |
734 | 734 | ||
735 | static void print_version(void) | 735 | static void __devinit print_version(void) |
736 | { | 736 | { |
737 | static int version_printed; | 737 | static int version_printed; |
738 | 738 | ||