2008-02-05 18:13:21

by Johann Felix Soden

[permalink] [raw]
Subject: [PATCH] vitio: Add missing #include <linux/delay.h>

From: Johann Felix Soden <[email protected]>

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 <[email protected]>
---
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