X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fusb%2Fserial%2Fvisor.h;h=2effcd0f7a197752825d52b979eeac94791a5aee;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=55185b39820be26d1d5a30274e0936fd0f2dc815;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/drivers/usb/serial/visor.h b/drivers/usb/serial/visor.h index 55185b398..2effcd0f7 100644 --- a/drivers/usb/serial/visor.h +++ b/drivers/usb/serial/visor.h @@ -89,7 +89,7 @@ * VISOR_GET_CONNECTION_INFORMATION returns data in the following format ****************************************************************************/ struct visor_connection_info { - __u16 num_ports; + __le16 num_ports; struct { __u8 port_function_id; __u8 port; @@ -135,12 +135,12 @@ struct visor_connection_info { struct palm_ext_connection_info { __u8 num_ports; __u8 endpoint_numbers_different; - __u16 reserved1; + __le16 reserved1; struct { __u32 port_function_id; __u8 port; __u8 end_point_info; - __u16 reserved; + __le16 reserved; } connections[2]; };