Skip to content

Commit 21976f2

Browse files
jmberg-intelrichardweinberger
authored andcommitted
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: 43c590c ("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>
1 parent 68fdb64 commit 21976f2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/um/drivers/virtio_uml.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
#include <linux/virtio_config.h>
2828
#include <linux/virtio_ring.h>
2929
#include <linux/time-internal.h>
30+
#include <linux/virtio-uml.h>
3031
#include <shared/as-layout.h>
3132
#include <irq_kern.h>
3233
#include <init.h>

0 commit comments

Comments
 (0)