diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2009-01-27 00:12:58 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-27 00:12:58 -0500 |
commit | db1d7bf70f42124f73675fca62fe32f3ab1111b4 (patch) | |
tree | fc6d52f9c898585ddaea22e2775267d3eb389617 /drivers/net/ehea/ehea_main.c | |
parent | 3617aa485c7394e20fdaf356b1b78516fcaaa0d1 (diff) |
net: struct device - replace bus_id with dev_name(), dev_set_name()
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ehea/ehea_main.c')
-rw-r--r-- | drivers/net/ehea/ehea_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ehea/ehea_main.c b/drivers/net/ehea/ehea_main.c index 19fccca74ce0..489fdb90f764 100644 --- a/drivers/net/ehea/ehea_main.c +++ b/drivers/net/ehea/ehea_main.c | |||
@@ -3033,7 +3033,7 @@ static struct device *ehea_register_port(struct ehea_port *port, | |||
3033 | port->ofdev.dev.parent = &port->adapter->ofdev->dev; | 3033 | port->ofdev.dev.parent = &port->adapter->ofdev->dev; |
3034 | port->ofdev.dev.bus = &ibmebus_bus_type; | 3034 | port->ofdev.dev.bus = &ibmebus_bus_type; |
3035 | 3035 | ||
3036 | sprintf(port->ofdev.dev.bus_id, "port%d", port_name_cnt++); | 3036 | dev_set_name(&port->ofdev.dev, "port%d", port_name_cnt++); |
3037 | port->ofdev.dev.release = logical_port_release; | 3037 | port->ofdev.dev.release = logical_port_release; |
3038 | 3038 | ||
3039 | ret = of_device_register(&port->ofdev); | 3039 | ret = of_device_register(&port->ofdev); |