mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02:00
virtio_console: correct tags for config space fields
Tag config space fields as having virtio endian-ness. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com>
This commit is contained in:
@@ -45,13 +45,13 @@
|
|||||||
|
|
||||||
struct virtio_console_config {
|
struct virtio_console_config {
|
||||||
/* colums of the screens */
|
/* colums of the screens */
|
||||||
__u16 cols;
|
__virtio16 cols;
|
||||||
/* rows of the screens */
|
/* rows of the screens */
|
||||||
__u16 rows;
|
__virtio16 rows;
|
||||||
/* max. number of ports this device can hold */
|
/* max. number of ports this device can hold */
|
||||||
__u32 max_nr_ports;
|
__virtio32 max_nr_ports;
|
||||||
/* emergency write register */
|
/* emergency write register */
|
||||||
__u32 emerg_wr;
|
__virtio32 emerg_wr;
|
||||||
} __attribute__((packed));
|
} __attribute__((packed));
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user