summaryrefslogtreecommitdiffstats
path: root/drivers/s390/net
diff options
context:
space:
mode:
authorCornelia Huck <cornelia.huck@de.ibm.com>2008-10-10 21:33:10 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2008-10-10 21:33:50 +0200
commit1bf5b2853925cf92bfc5f0eddb68a8ed18782845 (patch)
treeacc51c9017ea2c8f155be805f49cfe68a23c6a9b /drivers/s390/net
parent2a0217d5c7d22d6dd28f8ae5d20b06d24dc426b8 (diff)
downloadop-kernel-dev-1bf5b2853925cf92bfc5f0eddb68a8ed18782845.zip
op-kernel-dev-1bf5b2853925cf92bfc5f0eddb68a8ed18782845.tar.gz
[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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/net/netiucv.c b/drivers/s390/net/netiucv.c
index 9242b5a..0fea51e 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)
IUCV_DBF_TEXT(trace, 3, __func__);
if (dev) {
- snprintf(dev->bus_id, BUS_ID_SIZE, "net%s", ndev->name);
+ dev_set_name(dev, "net%s", ndev->name);
dev->bus = &iucv_bus;
dev->parent = iucv_root;
/*
OpenPOWER on IntegriCloud