diff options
author | Johannes Berg <johannes.berg@intel.com> | 2021-06-25 10:34:36 +0200 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2021-08-26 22:28:02 +0200 |
commit | 21976f2b747edd9350336cdd6700b792a3bc2170 (patch) | |
tree | 90dbf8adfb09ef6c0d229d3325830beda6018f8a /arch/um/drivers | |
parent | 68fdb64485014802152725a4aec63296847f740e (diff) | |
download | linux-stable-21976f2b747edd9350336cdd6700b792a3bc2170.tar.gz linux-stable-21976f2b747edd9350336cdd6700b792a3bc2170.tar.bz2 linux-stable-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 <lkp@intel.com>
Fixes: 43c590cb8666 ("um: virtio/pci: enable suspend/resume")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Acked-By: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/drivers')
-rw-r--r-- | arch/um/drivers/virtio_uml.c | 1 |
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> |