Since this is a modern-only device, tag config space fields as having little endian-ness.
Showing the changes to include/uapi/linux (1 of 1 file). Show all
Unified · Split
| @@ -40,18 +40,18 @@ enum virtio_input_config_select { · 39 unmodified lines | ||
| 40 | 40 | }; |
| 41 | 41 | |
| 42 | 42 | struct virtio_input_absinfo { |
| 43 | − __u32 min; | |
| 44 | − __u32 max; | |
| 45 | − __u32 fuzz; | |
| 46 | − __u32 flat; | |
| 47 | − __u32 res; | |
| 43 | + __le32 min; | |
| 44 | + __le32 max; | |
| 45 | + __le32 fuzz; | |
| 46 | + __le32 flat; | |
| 47 | + __le32 res; | |
| 48 | 48 | }; |
| 49 | 49 | |
| 50 | 50 | struct virtio_input_devids { |
| 51 | − __u16 bustype; | |
| 52 | − __u16 vendor; | |
| 53 | − __u16 product; | |
| 54 | − __u16 version; | |
| 51 | + __le16 bustype; | |
| 52 | + __le16 vendor; | |
| 53 | + __le16 product; | |
| 54 | + __le16 version; | |
| 55 | 55 | }; |
| 56 | 56 | |
| 57 | 57 | struct virtio_input_config { |