summaryrefslogtreecommitdiffstats
path: root/drivers/usb/storage/usb.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2012-01-14 17:29:43 +0800
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2012-04-23 19:51:05 +0800
commit800f181e7ae7cd96b0595ac86af898eadbe72675 (patch)
tree9e6ef739db8d51bd4c150c2eb487457dce9b05ea /drivers/usb/storage/usb.c
parenta4e30cd9163ac4a44454ef2e43bf01c6439c08e0 (diff)
downloadbarebox-800f181e7ae7cd96b0595ac86af898eadbe72675.tar.gz
usb: fix driver name
use the usb_driver name otherwise we will have a NULL driver entry in devinfo Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'drivers/usb/storage/usb.c')
-rw-r--r--drivers/usb/storage/usb.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/storage/usb.c b/drivers/usb/storage/usb.c
index 5f15464..fa3691a 100644
--- a/drivers/usb/storage/usb.c
+++ b/drivers/usb/storage/usb.c
@@ -621,7 +621,6 @@ static struct usb_driver usb_storage_driver = {
static int __init usb_stor_init(void)
{
- usb_storage_driver.name = usb_storage_driver.driver.name;
return usb_driver_register(&usb_storage_driver);
}
device_initcall(usb_stor_init);