diff options
Diffstat (limited to 'drivers/scsi/sd.c')
-rw-r--r-- | drivers/scsi/sd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c index e035c1114010..d57566b8be0a 100644 --- a/drivers/scsi/sd.c +++ b/drivers/scsi/sd.c | |||
@@ -1830,7 +1830,7 @@ static void sd_probe_async(void *data, async_cookie_t cookie) | |||
1830 | device_initialize(&sdkp->dev); | 1830 | device_initialize(&sdkp->dev); |
1831 | sdkp->dev.parent = &sdp->sdev_gendev; | 1831 | sdkp->dev.parent = &sdp->sdev_gendev; |
1832 | sdkp->dev.class = &sd_disk_class; | 1832 | sdkp->dev.class = &sd_disk_class; |
1833 | strncpy(sdkp->dev.bus_id, sdp->sdev_gendev.bus_id, BUS_ID_SIZE); | 1833 | dev_set_name(&sdkp->dev, dev_name(&sdp->sdev_gendev)); |
1834 | 1834 | ||
1835 | if (device_add(&sdkp->dev)) | 1835 | if (device_add(&sdkp->dev)) |
1836 | goto out_free_index; | 1836 | goto out_free_index; |