mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-09 14:43:16 +00:00
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>
This commit is contained in:
parent
e6353f3043
commit
aa782d3195
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user