usb-storage: make shuttle_usbat a separate module
This patch (as1211) converts usb-storage's shuttle_usbat 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
fcdb51401f
commit
26d6818f19
@@ -66,9 +66,6 @@
|
||||
#include "debug.h"
|
||||
#include "initializers.h"
|
||||
|
||||
#ifdef CONFIG_USB_STORAGE_USBAT
|
||||
#include "shuttle_usbat.h"
|
||||
#endif
|
||||
#ifdef CONFIG_USB_STORAGE_FREECOM
|
||||
#include "freecom.h"
|
||||
#endif
|
||||
@@ -610,15 +607,6 @@ static void get_transport(struct us_data *us)
|
||||
us->transport_reset = usb_stor_Bulk_reset;
|
||||
break;
|
||||
|
||||
#ifdef CONFIG_USB_STORAGE_USBAT
|
||||
case US_PR_USBAT:
|
||||
us->transport_name = "Shuttle USBAT";
|
||||
us->transport = usbat_transport;
|
||||
us->transport_reset = usb_stor_CB_reset;
|
||||
us->max_lun = 1;
|
||||
break;
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USB_STORAGE_FREECOM
|
||||
case US_PR_FREECOM:
|
||||
us->transport_name = "Freecom";
|
||||
|
Reference in New Issue
Block a user