Skip to contentSkip to conversation

drivers/net/sunvnet.c:print_version() must be __devinit

PATCH New Adrian Bunk 1 participant 1 message Jan 30, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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 -->

---
f865222179806c4475cd79c2fb92ec622f88da3f

drivers/net/sunvnet.c +1 -1
index 4a0035f..6415ce1 100644
@@ -1130,7 +1130,7 @@ static struct vio_driver_ops vnet_vio_ops = {
 	.handshake_complete	= vnet_handshake_complete,
 };
 
-static void print_version(void)
+static void __devinit print_version(void)
 {
 	static int version_printed;