diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2009-02-12 14:48:15 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-03-24 19:20:34 -0400 |
commit | 2cbbf3576aa9eae9a92f2669f38a453b6cb8e956 (patch) | |
tree | 7314fb7b9aad8d02c8d3ff04de1f249c831fc479 /drivers/usb/storage/usb.c | |
parent | 0d62939fab3cf28a23ac6934cec599793d3a1d9d (diff) |
usb-storage: make datafab a separate module
This patch (as1213) converts usb-storage's datafab subdriver into a
separate module.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/storage/usb.c')
-rw-r--r-- | drivers/usb/storage/usb.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/usb/storage/usb.c b/drivers/usb/storage/usb.c index 985275d5d4c5..a537b3513b9b 100644 --- a/drivers/usb/storage/usb.c +++ b/drivers/usb/storage/usb.c | |||
@@ -66,9 +66,6 @@ | |||
66 | #include "debug.h" | 66 | #include "debug.h" |
67 | #include "initializers.h" | 67 | #include "initializers.h" |
68 | 68 | ||
69 | #ifdef CONFIG_USB_STORAGE_DATAFAB | ||
70 | #include "datafab.h" | ||
71 | #endif | ||
72 | #ifdef CONFIG_USB_STORAGE_JUMPSHOT | 69 | #ifdef CONFIG_USB_STORAGE_JUMPSHOT |
73 | #include "jumpshot.h" | 70 | #include "jumpshot.h" |
74 | #endif | 71 | #endif |
@@ -604,15 +601,6 @@ static void get_transport(struct us_data *us) | |||
604 | us->transport_reset = usb_stor_Bulk_reset; | 601 | us->transport_reset = usb_stor_Bulk_reset; |
605 | break; | 602 | break; |
606 | 603 | ||
607 | #ifdef CONFIG_USB_STORAGE_DATAFAB | ||
608 | case US_PR_DATAFAB: | ||
609 | us->transport_name = "Datafab Bulk-Only"; | ||
610 | us->transport = datafab_transport; | ||
611 | us->transport_reset = usb_stor_Bulk_reset; | ||
612 | us->max_lun = 1; | ||
613 | break; | ||
614 | #endif | ||
615 | |||
616 | #ifdef CONFIG_USB_STORAGE_JUMPSHOT | 604 | #ifdef CONFIG_USB_STORAGE_JUMPSHOT |
617 | case US_PR_JUMPSHOT: | 605 | case US_PR_JUMPSHOT: |
618 | us->transport_name = "Lexar Jumpshot Control/Bulk"; | 606 | us->transport_name = "Lexar Jumpshot Control/Bulk"; |