diff options
author | Cornelia Huck <cornelia.huck@de.ibm.com> | 2008-10-10 15:33:10 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2008-10-10 15:33:50 -0400 |
commit | 1bf5b2853925cf92bfc5f0eddb68a8ed18782845 (patch) | |
tree | acc51c9017ea2c8f155be805f49cfe68a23c6a9b /drivers/s390/net | |
parent | 2a0217d5c7d22d6dd28f8ae5d20b06d24dc426b8 (diff) |
[S390] bus_id -> dev_set_name() changes
Convert most s390 users setting bus_id to dev_set_name().
css and ccw busses are deferred since they need some special
treatment.
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/net')
-rw-r--r-- | drivers/s390/net/netiucv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/net/netiucv.c b/drivers/s390/net/netiucv.c index 9242b5acc66b..0fea51e34b57 100644 --- a/drivers/s390/net/netiucv.c +++ b/drivers/s390/net/netiucv.c | |||
@@ -1724,7 +1724,7 @@ static int netiucv_register_device(struct net_device *ndev) | |||
1724 | IUCV_DBF_TEXT(trace, 3, __func__); | 1724 | IUCV_DBF_TEXT(trace, 3, __func__); |
1725 | 1725 | ||
1726 | if (dev) { | 1726 | if (dev) { |
1727 | snprintf(dev->bus_id, BUS_ID_SIZE, "net%s", ndev->name); | 1727 | dev_set_name(dev, "net%s", ndev->name); |
1728 | dev->bus = &iucv_bus; | 1728 | dev->bus = &iucv_bus; |
1729 | dev->parent = iucv_root; | 1729 | dev->parent = iucv_root; |
1730 | /* | 1730 | /* |