aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/storage
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/storage')
-rw-r--r--drivers/usb/storage/usb.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/usb/storage/usb.c b/drivers/usb/storage/usb.c
index dd108634348e..0142fe82f6b8 100644
--- a/drivers/usb/storage/usb.c
+++ b/drivers/usb/storage/usb.c
@@ -593,6 +593,15 @@ static int get_transport(struct us_data *us)
593 break; 593 break;
594#endif 594#endif
595 595
596#ifdef CONFIG_USB_STORAGE_ALAUDA
597 case US_PR_ALAUDA:
598 us->transport_name = "Alauda Control/Bulk";
599 us->transport = alauda_transport;
600 us->transport_reset = usb_stor_Bulk_reset;
601 us->max_lun = 1;
602 break;
603#endif
604
596 default: 605 default:
597 return -EIO; 606 return -EIO;
598 } 607 }
@@ -648,15 +657,6 @@ static int get_protocol(struct us_data *us)
648 break; 657 break;
649#endif 658#endif
650 659
651#ifdef CONFIG_USB_STORAGE_ALAUDA
652 case US_PR_ALAUDA:
653 us->transport_name = "Alauda Control/Bulk";
654 us->transport = alauda_transport;
655 us->transport_reset = usb_stor_Bulk_reset;
656 us->max_lun = 1;
657 break;
658#endif
659
660 default: 660 default:
661 return -EIO; 661 return -EIO;
662 } 662 }