aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/iseries_veth.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/iseries_veth.c')
-rw-r--r--drivers/net/iseries_veth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/iseries_veth.c b/drivers/net/iseries_veth.c
index ee15667d6135..419861cbc65e 100644
--- a/drivers/net/iseries_veth.c
+++ b/drivers/net/iseries_veth.c
@@ -844,7 +844,7 @@ static int veth_init_connection(u8 rlp)
844 844
845 /* This gets us 1 reference, which is held on behalf of the driver 845 /* This gets us 1 reference, which is held on behalf of the driver
846 * infrastructure. It's released at module unload. */ 846 * infrastructure. It's released at module unload. */
847 kobject_init_ng(&cnx->kobject, &veth_lpar_connection_ktype); 847 kobject_init(&cnx->kobject, &veth_lpar_connection_ktype);
848 848
849 msgs = kcalloc(VETH_NUMBUFFERS, sizeof(struct veth_msg), GFP_KERNEL); 849 msgs = kcalloc(VETH_NUMBUFFERS, sizeof(struct veth_msg), GFP_KERNEL);
850 if (! msgs) { 850 if (! msgs) {
@@ -1083,7 +1083,7 @@ static struct net_device * __init veth_probe_one(int vlan,
1083 return NULL; 1083 return NULL;
1084 } 1084 }
1085 1085
1086 kobject_init_ng(&port->kobject, &veth_port_ktype); 1086 kobject_init(&port->kobject, &veth_port_ktype);
1087 if (0 != kobject_add(&port->kobject, &dev->dev.kobj, "veth_port")) 1087 if (0 != kobject_add(&port->kobject, &dev->dev.kobj, "veth_port"))
1088 veth_error("Failed adding port for %s to sysfs.\n", dev->name); 1088 veth_error("Failed adding port for %s to sysfs.\n", dev->name);
1089 1089