summaryrefslogtreecommitdiffstats
path: root/drivers/virtio
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2017-01-12 23:36:32 +0200
committerMichael S. Tsirkin <mst@redhat.com>2017-02-27 16:31:23 +0200
commit51be7a9a261ce18c520fb3928b168feb77522745 (patch)
tree64ed51f24bfcbbea0ebf240c446dbb5c76d291b2 /drivers/virtio
parentc470abd4fde40ea6a0846a2beab642a578c0b8cd (diff)
downloadlinux-51be7a9a261ce18c520fb3928b168feb77522745.tar.gz
linux-51be7a9a261ce18c520fb3928b168feb77522745.tar.bz2
linux-51be7a9a261ce18c520fb3928b168feb77522745.zip
virtio_mmio: expose header to userspace
It's handy for userspace emulators like QEMU. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/virtio')
-rw-r--r--drivers/virtio/virtio_mmio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/virtio/virtio_mmio.c b/drivers/virtio/virtio_mmio.c
index c71fde5fe835..08357d70a891 100644
--- a/drivers/virtio/virtio_mmio.c
+++ b/drivers/virtio/virtio_mmio.c
@@ -70,7 +70,7 @@
#include <linux/spinlock.h>
#include <linux/virtio.h>
#include <linux/virtio_config.h>
-#include <linux/virtio_mmio.h>
+#include <uapi/linux/virtio_mmio.h>
#include <linux/virtio_ring.h>