aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/drivers/virtio_uml.c
diff options
context:
space:
mode:
authorJohannes Berg <[email protected]>2021-06-25 08:34:36 +0000
committerRichard Weinberger <[email protected]>2021-08-26 20:28:02 +0000
commit21976f2b747edd9350336cdd6700b792a3bc2170 (patch)
tree90dbf8adfb09ef6c0d229d3325830beda6018f8a /arch/um/drivers/virtio_uml.c
parentlib/logic_iomem: fix sparse warnings (diff)
downloadkernel-21976f2b747edd9350336cdd6700b792a3bc2170.tar.gz
kernel-21976f2b747edd9350336cdd6700b792a3bc2170.zip
um: virtio_uml: include linux/virtio-uml.h
This fixes a sparse warning, since the function defined here should have a declaration (or be static). Reported-by: kernel test robot <[email protected]> Fixes: 43c590cb8666 ("um: virtio/pci: enable suspend/resume") Signed-off-by: Johannes Berg <[email protected]> Acked-By: Anton Ivanov <[email protected]> Signed-off-by: Richard Weinberger <[email protected]>
Diffstat (limited to 'arch/um/drivers/virtio_uml.c')
-rw-r--r--arch/um/drivers/virtio_uml.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/um/drivers/virtio_uml.c b/arch/um/drivers/virtio_uml.c
index 4412d6febade..cb79fe33d84e 100644
--- a/arch/um/drivers/virtio_uml.c
+++ b/arch/um/drivers/virtio_uml.c
@@ -27,6 +27,7 @@
#include <linux/virtio_config.h>
#include <linux/virtio_ring.h>
#include <linux/time-internal.h>
+#include <linux/virtio-uml.h>
#include <shared/as-layout.h>
#include <irq_kern.h>
#include <init.h>