Commit d531d3a3 authored by Art Haas's avatar Art Haas Committed by Greg Kroah-Hartman

[PATCH] designated initializers for drivers_usb_storage_usb.c

  Here's a patch for additional designated initializers for
  drivers/usb/storage/usb.c. Patch is against 2.5.27.
parent 6141549c
......@@ -182,46 +182,46 @@ static struct us_unusual_dev us_unusual_dev_list[] = {
# include "unusual_devs.h"
# undef UNUSUAL_DEV
/* Control/Bulk transport for all SubClass values */
{ useProtocol: US_SC_RBC,
useTransport: US_PR_CB},
{ useProtocol: US_SC_8020,
useTransport: US_PR_CB},
{ useProtocol: US_SC_QIC,
useTransport: US_PR_CB},
{ useProtocol: US_SC_UFI,
useTransport: US_PR_CB},
{ useProtocol: US_SC_8070,
useTransport: US_PR_CB},
{ useProtocol: US_SC_SCSI,
useTransport: US_PR_CB},
{ .useProtocol = US_SC_RBC,
.useTransport = US_PR_CB},
{ .useProtocol = US_SC_8020,
.useTransport = US_PR_CB},
{ .useProtocol = US_SC_QIC,
.useTransport = US_PR_CB},
{ .useProtocol = US_SC_UFI,
.useTransport = US_PR_CB},
{ .useProtocol = US_SC_8070,
.useTransport = US_PR_CB},
{ .useProtocol = US_SC_SCSI,
.useTransport = US_PR_CB},
/* Control/Bulk/Interrupt transport for all SubClass values */
{ useProtocol: US_SC_RBC,
useTransport: US_PR_CBI},
{ useProtocol: US_SC_8020,
useTransport: US_PR_CBI},
{ useProtocol: US_SC_QIC,
useTransport: US_PR_CBI},
{ useProtocol: US_SC_UFI,
useTransport: US_PR_CBI},
{ useProtocol: US_SC_8070,
useTransport: US_PR_CBI},
{ useProtocol: US_SC_SCSI,
useTransport: US_PR_CBI},
{ .useProtocol = US_SC_RBC,
.useTransport = US_PR_CBI},
{ .useProtocol = US_SC_8020,
.useTransport = US_PR_CBI},
{ .useProtocol = US_SC_QIC,
.useTransport = US_PR_CBI},
{ .useProtocol = US_SC_UFI,
.useTransport = US_PR_CBI},
{ .useProtocol = US_SC_8070,
.useTransport = US_PR_CBI},
{ .useProtocol = US_SC_SCSI,
.useTransport = US_PR_CBI},
/* Bulk-only transport for all SubClass values */
{ useProtocol: US_SC_RBC,
useTransport: US_PR_BULK},
{ useProtocol: US_SC_8020,
useTransport: US_PR_BULK},
{ useProtocol: US_SC_QIC,
useTransport: US_PR_BULK},
{ useProtocol: US_SC_UFI,
useTransport: US_PR_BULK},
{ useProtocol: US_SC_8070,
useTransport: US_PR_BULK},
{ useProtocol: US_SC_SCSI,
useTransport: US_PR_BULK},
{ .useProtocol = US_SC_RBC,
.useTransport = US_PR_BULK},
{ .useProtocol = US_SC_8020,
.useTransport = US_PR_BULK},
{ .useProtocol = US_SC_QIC,
.useTransport = US_PR_BULK},
{ .useProtocol = US_SC_UFI,
.useTransport = US_PR_BULK},
{ .useProtocol = US_SC_8070,
.useTransport = US_PR_BULK},
{ .useProtocol = US_SC_SCSI,
.useTransport = US_PR_BULK},
/* Terminating entry */
{ 0 }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment