summaryrefslogtreecommitdiffstats
path: root/drivers/usb/storage/cypress_atacb.c
diff options
context:
space:
mode:
authorHuajun Li <huajun.li.lee@gmail.com>2012-01-14 10:15:21 +0800
committerGreg Kroah-Hartman <gregkh@suse.de>2012-01-24 14:31:03 -0800
commite73b2db6c9bc5bd9a3c080f286964e594351991a (patch)
treecdf48789ad212343f2fcc249e5bc462be3f2096b /drivers/usb/storage/cypress_atacb.c
parent2851784f4d820bc697a8cc608509f9e3975c80e5 (diff)
downloadop-kernel-dev-e73b2db6c9bc5bd9a3c080f286964e594351991a.zip
op-kernel-dev-e73b2db6c9bc5bd9a3c080f286964e594351991a.tar.gz
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/cypress_atacb.c')
-rw-r--r--drivers/usb/storage/cypress_atacb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/storage/cypress_atacb.c b/drivers/usb/storage/cypress_atacb.c
index 387cbd47..5fe451d 100644
--- a/drivers/usb/storage/cypress_atacb.c
+++ b/drivers/usb/storage/cypress_atacb.c
@@ -272,6 +272,7 @@ static struct usb_driver cypress_driver = {
.post_reset = usb_stor_post_reset,
.id_table = cypress_usb_ids,
.soft_unbind = 1,
+ .no_dynamic_id = 1,
};
module_usb_driver(cypress_driver);
OpenPOWER on IntegriCloud