From: Stephen Rothwell Date: Tue, 5 Feb 2008 03:19:40 +0000 (+1100) Subject: iSeries: fix section mismatch in iseries_veth X-Git-Tag: v2.6.25-rc1~518^2^2~20 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=57f78ab3b0e9338a9241aeff6ee92aecc8f8bcbb;p=linux-2.6-omap-h63xx.git iSeries: fix section mismatch in iseries_veth WARNING: vmlinux.o(.text+0x25dca0): Section mismatch in reference from the function .veth_probe() to the function .init.text:.veth_probe_one() Signed-off-by: Stephen Rothwell Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/iseries_veth.c b/drivers/net/iseries_veth.c index 419861cbc65..58d3bb622da 100644 --- a/drivers/net/iseries_veth.c +++ b/drivers/net/iseries_veth.c @@ -1020,7 +1020,7 @@ static const struct ethtool_ops ops = { .get_link = veth_get_link, }; -static struct net_device * __init veth_probe_one(int vlan, +static struct net_device *veth_probe_one(int vlan, struct vio_dev *vio_dev) { struct net_device *dev;