ソースを参照

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 <sfr@canb.auug.org.au>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Stephen Rothwell 17 年 前
コミット
57f78ab3b0
1 ファイル変更1 行追加1 行削除
  1. 1 1
      drivers/net/iseries_veth.c

+ 1 - 1
drivers/net/iseries_veth.c

@@ -1020,7 +1020,7 @@ static const struct ethtool_ops ops = {
 	.get_link = veth_get_link,
 	.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 vio_dev *vio_dev)
 {
 {
 	struct net_device *dev;
 	struct net_device *dev;