summaryrefslogtreecommitdiffstats
path: root/drivers/usb/storage/karma.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/karma.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/karma.c')
-rw-r--r--drivers/usb/storage/karma.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/storage/karma.c b/drivers/usb/storage/karma.c
index e720f8ebdf9f..a8708eae9788 100644
--- a/drivers/usb/storage/karma.c
+++ b/drivers/usb/storage/karma.c
@@ -230,6 +230,7 @@ static struct usb_driver karma_driver = {
.post_reset = usb_stor_post_reset,
.id_table = karma_usb_ids,
.soft_unbind = 1,
+ .no_dynamic_id = 1,
};
module_usb_driver(karma_driver);