Skip to content

Commit

Permalink
[PATCH] USB: usb-storage alauda: Fix transport info mismerge
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Daniel Drake authored and Greg Kroah-Hartman committed Jun 21, 2006
1 parent f9347c5 commit b383539
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions drivers/usb/storage/usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit b383539

Please sign in to comment.