USB: replace uses of __constant_{endian}
The base versions handle constant folding now. Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
a78b42824d
commit
551509d267
@ -188,7 +188,7 @@ static struct usb_endpoint_descriptor mdc800_ed [4] =
|
||||
.bDescriptorType = 0,
|
||||
.bEndpointAddress = 0x01,
|
||||
.bmAttributes = 0x02,
|
||||
.wMaxPacketSize = __constant_cpu_to_le16(8),
|
||||
.wMaxPacketSize = cpu_to_le16(8),
|
||||
.bInterval = 0,
|
||||
.bRefresh = 0,
|
||||
.bSynchAddress = 0,
|
||||
@ -198,7 +198,7 @@ static struct usb_endpoint_descriptor mdc800_ed [4] =
|
||||
.bDescriptorType = 0,
|
||||
.bEndpointAddress = 0x82,
|
||||
.bmAttributes = 0x03,
|
||||
.wMaxPacketSize = __constant_cpu_to_le16(8),
|
||||
.wMaxPacketSize = cpu_to_le16(8),
|
||||
.bInterval = 0,
|
||||
.bRefresh = 0,
|
||||
.bSynchAddress = 0,
|
||||
@ -208,7 +208,7 @@ static struct usb_endpoint_descriptor mdc800_ed [4] =
|
||||
.bDescriptorType = 0,
|
||||
.bEndpointAddress = 0x03,
|
||||
.bmAttributes = 0x02,
|
||||
.wMaxPacketSize = __constant_cpu_to_le16(64),
|
||||
.wMaxPacketSize = cpu_to_le16(64),
|
||||
.bInterval = 0,
|
||||
.bRefresh = 0,
|
||||
.bSynchAddress = 0,
|
||||
@ -218,7 +218,7 @@ static struct usb_endpoint_descriptor mdc800_ed [4] =
|
||||
.bDescriptorType = 0,
|
||||
.bEndpointAddress = 0x84,
|
||||
.bmAttributes = 0x02,
|
||||
.wMaxPacketSize = __constant_cpu_to_le16(64),
|
||||
.wMaxPacketSize = cpu_to_le16(64),
|
||||
.bInterval = 0,
|
||||
.bRefresh = 0,
|
||||
.bSynchAddress = 0,
|
||||
|
Reference in New Issue
Block a user