diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-01-30 15:03:32 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-02-03 07:26:13 -0500 |
commit | aa782d3195c8a1f6da9a44f1862f098f41bfe8a2 (patch) | |
tree | 6fcae9318e5a9c4273111730ff97a7bad359d45e | |
parent | e6353f30435002e307bf7dcfaa61fc6800b4b267 (diff) |
drivers/net/sunvnet.c:print_version() must be __devinit
This patch fixes the following section mismatches:
<-- snip -->
...
WARNING: drivers/net/sunvnet.o(.text+0x220): Section mismatch in reference from the function print_version() to the variable .devinit.data:version
WARNING: drivers/net/sunvnet.o(.text+0x228): 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: Jeff Garzik <jeff@garzik.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/sunvnet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sunvnet.c b/drivers/net/sunvnet.c index 4a0035f7a842..6415ce15c2ef 100644 --- a/drivers/net/sunvnet.c +++ b/drivers/net/sunvnet.c | |||
@@ -1130,7 +1130,7 @@ static struct vio_driver_ops vnet_vio_ops = { | |||
1130 | .handshake_complete = vnet_handshake_complete, | 1130 | .handshake_complete = vnet_handshake_complete, |
1131 | }; | 1131 | }; |
1132 | 1132 | ||
1133 | static void print_version(void) | 1133 | static void __devinit print_version(void) |
1134 | { | 1134 | { |
1135 | static int version_printed; | 1135 | static int version_printed; |
1136 | 1136 | ||