[PATCH] staging/hv: add missing include causing build error

From: Mariusz Kozlowski
Date: Mon Mar 07 2011 - 14:34:47 EST


This fixes following build error:

In file included from drivers/staging/hv/channel.h:28,
from drivers/staging/hv/vmbus_private.h:30,
from drivers/staging/hv/hv.c:28:
drivers/staging/hv/channel_mgmt.h:234: error: field âworkâ has incomplete type

Signed-off-by: Mariusz Kozlowski <mk@xxxxxxxxxxxx>
---

Found with randconfig on x86.

drivers/staging/hv/channel_mgmt.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/staging/hv/channel_mgmt.h b/drivers/staging/hv/channel_mgmt.h
index 3368bf1..96f74e2 100644
--- a/drivers/staging/hv/channel_mgmt.h
+++ b/drivers/staging/hv/channel_mgmt.h
@@ -27,6 +27,7 @@

#include <linux/list.h>
#include <linux/timer.h>
+#include <linux/workqueue.h>
#include "ring_buffer.h"
#include "vmbus_channel_interface.h"
#include "vmbus_packet_format.h"
--
1.7.0.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/