diff options
Diffstat (limited to 'drivers/ata/libata-transport.c')
-rw-r--r-- | drivers/ata/libata-transport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/libata-transport.c b/drivers/ata/libata-transport.c index 61dca7a20a31..c04d393d20c1 100644 --- a/drivers/ata/libata-transport.c +++ b/drivers/ata/libata-transport.c | |||
@@ -284,7 +284,7 @@ int ata_tport_add(struct device *parent, | |||
284 | 284 | ||
285 | dev->parent = get_device(parent); | 285 | dev->parent = get_device(parent); |
286 | dev->release = ata_tport_release; | 286 | dev->release = ata_tport_release; |
287 | dev_set_name(dev, "ata%d.%d", ap->host->host_id, ap->print_id); | 287 | dev_set_name(dev, "ata%d", ap->print_id); |
288 | transport_setup_device(dev); | 288 | transport_setup_device(dev); |
289 | error = device_add(dev); | 289 | error = device_add(dev); |
290 | if (error) { | 290 | if (error) { |