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 62b28d58e65e..835aebf78710 100644 --- a/drivers/scsi/sd.c +++ b/drivers/scsi/sd.c | |||
@@ -1876,7 +1876,7 @@ static int sd_probe(struct device *dev) | |||
1876 | device_initialize(&sdkp->dev); | 1876 | device_initialize(&sdkp->dev); |
1877 | sdkp->dev.parent = &sdp->sdev_gendev; | 1877 | sdkp->dev.parent = &sdp->sdev_gendev; |
1878 | sdkp->dev.class = &sd_disk_class; | 1878 | sdkp->dev.class = &sd_disk_class; |
1879 | strncpy(sdkp->dev.bus_id, sdp->sdev_gendev.bus_id, BUS_ID_SIZE); | 1879 | dev_set_name(&sdkp->dev, dev_name(&sdp->sdev_gendev)); |
1880 | 1880 | ||
1881 | if (device_add(&sdkp->dev)) | 1881 | if (device_add(&sdkp->dev)) |
1882 | goto out_free_index; | 1882 | goto out_free_index; |