summaryrefslogtreecommitdiffstats
path: root/drivers/usb/storage/freecom.c
diff options
context:
space:
mode:
authorHuajun Li <huajun.li.lee@gmail.com>2012-01-14 03:15:21 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2012-01-24 23:31:03 +0100
commite73b2db6c9bc5bd9a3c080f286964e594351991a (patch)
treecdf48789ad212343f2fcc249e5bc462be3f2096b /drivers/usb/storage/freecom.c
parentusb/uhci: initialize sg_table properly (diff)
downloadlinux-e73b2db6c9bc5bd9a3c080f286964e594351991a.tar.xz
linux-e73b2db6c9bc5bd9a3c080f286964e594351991a.zip
usb: Disable dynamic id of USB storage subdrivers
Storage subdrivers, like alauda, datafab and others, don't support dynamic id currently, and it needs lots of work but with very little gain to enable the feature, so disable them in the patch. Signed-off-by: Huajun Li <huajun.li.lee@gmail.com> Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/storage/freecom.c')
-rw-r--r--drivers/usb/storage/freecom.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/storage/freecom.c b/drivers/usb/storage/freecom.c
index fa1615748475..042cf9ef3153 100644
--- a/drivers/usb/storage/freecom.c
+++ b/drivers/usb/storage/freecom.c
@@ -553,6 +553,7 @@ static struct usb_driver freecom_driver = {
.post_reset = usb_stor_post_reset,
.id_table = freecom_usb_ids,
.soft_unbind = 1,
+ .no_dynamic_id = 1,
};
module_usb_driver(freecom_driver);