]> err.no Git - linux-2.6/commitdiff
iSeries: fix section mismatch in iseries_veth
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 5 Feb 2008 03:19:40 +0000 (14:19 +1100)
committerJeff Garzik <jeff@garzik.org>
Tue, 5 Feb 2008 18:31:08 +0000 (13:31 -0500)
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 <sfr@canb.auug.org.au>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/iseries_veth.c

index 419861cbc65ecb23ae1172b6559b402bc0caa8d6..58d3bb622da6eabf5e7b5018c03fa83809019205 100644 (file)
@@ -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;