aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/virtio_console.h
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2013-05-16 21:14:15 -0400
committerRusty Russell <rusty@rustcorp.com.au>2013-05-19 20:55:28 -0400
commit6407d75afd08545f2252bb39806ffd3f10c7faac (patch)
treeff52e0c954bcc2a221d95dbaea83e3e1d03c854f /include/uapi/linux/virtio_console.h
parentd2f83e9078b8114e3b9d09082856c1aac299aa37 (diff)
virtio_console: fix uapi header
uapi should use __u32 not u32. Fix a macro in virtio_console.h which uses u32. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Cc: stable@kernel.org
Diffstat (limited to 'include/uapi/linux/virtio_console.h')
-rw-r--r--include/uapi/linux/virtio_console.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/virtio_console.h b/include/uapi/linux/virtio_console.h
index ee13ab6c3614..c312f16bc4e7 100644
--- a/include/uapi/linux/virtio_console.h
+++ b/include/uapi/linux/virtio_console.h
@@ -39,7 +39,7 @@
39#define VIRTIO_CONSOLE_F_SIZE 0 /* Does host provide console size? */ 39#define VIRTIO_CONSOLE_F_SIZE 0 /* Does host provide console size? */
40#define VIRTIO_CONSOLE_F_MULTIPORT 1 /* Does host provide multiple ports? */ 40#define VIRTIO_CONSOLE_F_MULTIPORT 1 /* Does host provide multiple ports? */
41 41
42#define VIRTIO_CONSOLE_BAD_ID (~(u32)0) 42#define VIRTIO_CONSOLE_BAD_ID (~(__u32)0)
43 43
44struct virtio_console_config { 44struct virtio_console_config {
45 /* colums of the screens */ 45 /* colums of the screens */