summaryrefslogtreecommitdiff
path: root/drivers/usb/storage/datafab.c
diff options
context:
space:
mode:
authorHuajun Li <huajun.li.lee@gmail.com>2012-01-14 06:15:21 +0400
committerGreg Kroah-Hartman <gregkh@suse.de>2012-01-25 02:31:03 +0400
commite73b2db6c9bc5bd9a3c080f286964e594351991a (patch)
treecdf48789ad212343f2fcc249e5bc462be3f2096b /drivers/usb/storage/datafab.c
parent2851784f4d820bc697a8cc608509f9e3975c80e5 (diff)
downloadlinux-e73b2db6c9bc5bd9a3c080f286964e594351991a.tar.xz
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/datafab.c')
-rw-r--r--drivers/usb/storage/datafab.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/storage/datafab.c b/drivers/usb/storage/datafab.c
index 15d41f2b3d6f..35e9c51e6696 100644
--- a/drivers/usb/storage/datafab.c
+++ b/drivers/usb/storage/datafab.c
@@ -751,6 +751,7 @@ static struct usb_driver datafab_driver = {
.post_reset = usb_stor_post_reset,
.id_table = datafab_usb_ids,
.soft_unbind = 1,
+ .no_dynamic_id = 1,
};
module_usb_driver(datafab_driver);