diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2007-12-18 01:05:35 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-01-24 23:40:38 -0500 |
commit | b2d6db5878a0832659ed58476357eea2db915550 (patch) | |
tree | c7c9e98431078ca7b0405e8003bd905ab62df7c4 /drivers/net/iseries_veth.c | |
parent | 9e7bbccd0290e720e0874443932869c55f63d5a8 (diff) |
Kobject: rename kobject_add_ng() to kobject_add()
Now that the old kobject_add() function is gone, rename kobject_add_ng()
to kobject_add() to clean up the namespace.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/net/iseries_veth.c')
-rw-r--r-- | drivers/net/iseries_veth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/iseries_veth.c b/drivers/net/iseries_veth.c index 1a8299acd3f1..ee15667d6135 100644 --- a/drivers/net/iseries_veth.c +++ b/drivers/net/iseries_veth.c | |||
@@ -1084,7 +1084,7 @@ static struct net_device * __init veth_probe_one(int vlan, | |||
1084 | } | 1084 | } |
1085 | 1085 | ||
1086 | kobject_init_ng(&port->kobject, &veth_port_ktype); | 1086 | kobject_init_ng(&port->kobject, &veth_port_ktype); |
1087 | if (0 != kobject_add_ng(&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 | ||
1090 | veth_info("%s attached to iSeries vlan %d (LPAR map = 0x%.4X)\n", | 1090 | veth_info("%s attached to iSeries vlan %d (LPAR map = 0x%.4X)\n", |