usb-storage: make freecom a separate module
This patch (as1212) converts usb-storage's freecom subdriver into a separate module. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
26d6818f19
commit
0d62939fab
@@ -66,9 +66,6 @@
|
||||
#include "debug.h"
|
||||
#include "initializers.h"
|
||||
|
||||
#ifdef CONFIG_USB_STORAGE_FREECOM
|
||||
#include "freecom.h"
|
||||
#endif
|
||||
#ifdef CONFIG_USB_STORAGE_DATAFAB
|
||||
#include "datafab.h"
|
||||
#endif
|
||||
@@ -607,15 +604,6 @@ static void get_transport(struct us_data *us)
|
||||
us->transport_reset = usb_stor_Bulk_reset;
|
||||
break;
|
||||
|
||||
#ifdef CONFIG_USB_STORAGE_FREECOM
|
||||
case US_PR_FREECOM:
|
||||
us->transport_name = "Freecom";
|
||||
us->transport = freecom_transport;
|
||||
us->transport_reset = usb_stor_freecom_reset;
|
||||
us->max_lun = 0;
|
||||
break;
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USB_STORAGE_DATAFAB
|
||||
case US_PR_DATAFAB:
|
||||
us->transport_name = "Datafab Bulk-Only";
|
||||
|
Reference in New Issue
Block a user