diff options
Diffstat (limited to 'drivers/usb/storage/usb.c')
-rw-r--r-- | drivers/usb/storage/usb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/storage/usb.c b/drivers/usb/storage/usb.c index 8060b85fe1a3..783548485868 100644 --- a/drivers/usb/storage/usb.c +++ b/drivers/usb/storage/usb.c | |||
@@ -929,6 +929,8 @@ int usb_stor_probe2(struct us_data *us) | |||
929 | result = usb_stor_acquire_resources(us); | 929 | result = usb_stor_acquire_resources(us); |
930 | if (result) | 930 | if (result) |
931 | goto BadDevice; | 931 | goto BadDevice; |
932 | snprintf(us->scsi_name, sizeof(us->scsi_name), "usb-storage %s", | ||
933 | dev_name(&us->pusb_intf->dev)); | ||
932 | result = scsi_add_host(us_to_host(us), &us->pusb_intf->dev); | 934 | result = scsi_add_host(us_to_host(us), &us->pusb_intf->dev); |
933 | if (result) { | 935 | if (result) { |
934 | printk(KERN_WARNING USB_STORAGE | 936 | printk(KERN_WARNING USB_STORAGE |