LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] vitio: Add missing #include <linux/delay.h>
@ 2008-02-05 18:13 Johann Felix Soden
  0 siblings, 0 replies; only message in thread
From: Johann Felix Soden @ 2008-02-05 18:13 UTC (permalink / raw)
  To: Rusty Russell; +Cc: linux-kernel

From: Johann Felix Soden <johfel@users.sourceforge.net>

Include linux/delay.h to fix compiler error:

drivers/virtio/virtio_balloon.c: In function 'fill_balloon':
drivers/virtio/virtio_balloon.c:98: error: implicit declaration of function 'msleep'

Signed-off-by: Johann Felix Soden <johfel@users.sourceforge.net>
---
 drivers/virtio/virtio_balloon.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/virtio/virtio_balloon.c b/drivers/virtio/virtio_balloon.c
index 622aece..c8a4332 100644
--- a/drivers/virtio/virtio_balloon.c
+++ b/drivers/virtio/virtio_balloon.c
@@ -23,6 +23,7 @@
 #include <linux/swap.h>
 #include <linux/kthread.h>
 #include <linux/freezer.h>
+#include <linux/delay.h>
 
 struct virtio_balloon
 {
-- 
1.5.4




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-02-05 18:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-05 18:13 [PATCH] vitio: Add missing #include <linux/delay.h> Johann Felix Soden

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).