Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aa782d31 authored by Adrian Bunk's avatar Adrian Bunk Committed by David S. Miller
Browse files

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: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e6353f30
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1130,7 +1130,7 @@ static struct vio_driver_ops vnet_vio_ops = {
	.handshake_complete	= vnet_handshake_complete,
	.handshake_complete	= vnet_handshake_complete,
};
};


static void print_version(void)
static void __devinit print_version(void)
{
{
	static int version_printed;
	static int version_printed;