mirror of
https://github.com/adulau/aha.git
synced 2025-01-01 13:46:24 +00:00
[PATCH] USB: usb-storage alauda: Fix transport info mismerge
Unfortunately it looks like the transport entry for this subdriver was merged into the protocol section, making this driver unusable :( Signed-off-by: Daniel Drake <dsd@gentoo.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
f9347c5234
commit
b383539e04
1 changed files with 9 additions and 9 deletions
|
@ -593,6 +593,15 @@ static int get_transport(struct us_data *us)
|
|||
break;
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USB_STORAGE_ALAUDA
|
||||
case US_PR_ALAUDA:
|
||||
us->transport_name = "Alauda Control/Bulk";
|
||||
us->transport = alauda_transport;
|
||||
us->transport_reset = usb_stor_Bulk_reset;
|
||||
us->max_lun = 1;
|
||||
break;
|
||||
#endif
|
||||
|
||||
default:
|
||||
return -EIO;
|
||||
}
|
||||
|
@ -648,15 +657,6 @@ static int get_protocol(struct us_data *us)
|
|||
break;
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USB_STORAGE_ALAUDA
|
||||
case US_PR_ALAUDA:
|
||||
us->transport_name = "Alauda Control/Bulk";
|
||||
us->transport = alauda_transport;
|
||||
us->transport_reset = usb_stor_Bulk_reset;
|
||||
us->max_lun = 1;
|
||||
break;
|
||||
#endif
|
||||
|
||||
default:
|
||||
return -EIO;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue