summaryrefslogtreecommitdiff
path: root/include/uapi/linux/virtio_input.h
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2020-07-10 14:17:13 +0300
committerMichael S. Tsirkin <mst@redhat.com>2020-08-05 18:08:40 +0300
commit924b59a6dfa85dc9eac4c7f2fe1857bba2cb2510 (patch)
tree197c013e848eab60f8b5adf230dc7ded836671cf /include/uapi/linux/virtio_input.h
parentf378444b7c97e39358de5d50d01fb0e92f259073 (diff)
downloadlinux-924b59a6dfa85dc9eac4c7f2fe1857bba2cb2510.tar.xz
virtio_input: correct tags for config space fields
Since this is a modern-only device, tag config space fields as having little endian-ness. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'include/uapi/linux/virtio_input.h')
-rw-r--r--include/uapi/linux/virtio_input.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/include/uapi/linux/virtio_input.h b/include/uapi/linux/virtio_input.h
index a7fe5c8fb135..52084b1fb965 100644
--- a/include/uapi/linux/virtio_input.h
+++ b/include/uapi/linux/virtio_input.h
@@ -40,18 +40,18 @@ enum virtio_input_config_select {
};
struct virtio_input_absinfo {
- __u32 min;
- __u32 max;
- __u32 fuzz;
- __u32 flat;
- __u32 res;
+ __le32 min;
+ __le32 max;
+ __le32 fuzz;
+ __le32 flat;
+ __le32 res;
};
struct virtio_input_devids {
- __u16 bustype;
- __u16 vendor;
- __u16 product;
- __u16 version;
+ __le16 bustype;
+ __le16 vendor;
+ __le16 product;
+ __le16 version;
};
struct virtio_input_config {