From 0f2a6619eeef158d11832436ce151987f18cb08d Mon Sep 17 00:00:00 2001 From: "K. Y. Srinivasan" Date: Thu, 12 May 2011 19:34:28 -0700 Subject: [PATCH] Staging: hv: vmbus_drv: Create a common header file to build the vmbus driver Create a common header file to build the vmbus driver. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen Signed-off-by: Greg Kroah-Hartman --- drivers/staging/hv/channel.c | 1 + drivers/staging/hv/channel_mgmt.c | 1 + drivers/staging/hv/connection.c | 1 + drivers/staging/hv/hv.c | 1 + drivers/staging/hv/hyperv_vmbus.h | 28 ++++++++++++++++++++++++++++ drivers/staging/hv/ring_buffer.c | 1 + drivers/staging/hv/vmbus_drv.c | 1 + 7 files changed, 34 insertions(+) create mode 100644 drivers/staging/hv/hyperv_vmbus.h diff --git a/drivers/staging/hv/channel.c b/drivers/staging/hv/channel.c index 21cdfdea914a..aac59fa2a2d5 100644 --- a/drivers/staging/hv/channel.c +++ b/drivers/staging/hv/channel.c @@ -28,6 +28,7 @@ #include #include "hyperv.h" +#include "hyperv_vmbus.h" #include "hv_api.h" #include "vmbus_private.h" diff --git a/drivers/staging/hv/channel_mgmt.c b/drivers/staging/hv/channel_mgmt.c index bbc147f2225a..c73ae5fead6e 100644 --- a/drivers/staging/hv/channel_mgmt.c +++ b/drivers/staging/hv/channel_mgmt.c @@ -30,6 +30,7 @@ #include #include "hyperv.h" +#include "hyperv_vmbus.h" #include "hv_api.h" #include "vmbus_private.h" diff --git a/drivers/staging/hv/connection.c b/drivers/staging/hv/connection.c index 6ebc10618ff1..663aeed15eb2 100644 --- a/drivers/staging/hv/connection.c +++ b/drivers/staging/hv/connection.c @@ -30,6 +30,7 @@ #include #include "hyperv.h" +#include "hyperv_vmbus.h" #include "hv_api.h" #include "vmbus_private.h" diff --git a/drivers/staging/hv/hv.c b/drivers/staging/hv/hv.c index 2ceced20a266..dede9ced6978 100644 --- a/drivers/staging/hv/hv.c +++ b/drivers/staging/hv/hv.c @@ -27,6 +27,7 @@ #include #include "hyperv.h" +#include "hyperv_vmbus.h" #include "hv_api.h" #include "vmbus_private.h" diff --git a/drivers/staging/hv/hyperv_vmbus.h b/drivers/staging/hv/hyperv_vmbus.h new file mode 100644 index 000000000000..dafd13b24d67 --- /dev/null +++ b/drivers/staging/hv/hyperv_vmbus.h @@ -0,0 +1,28 @@ +/* + * + * Copyright (c) 2011, Microsoft Corporation. + * + * This program is free software; you can redistribute it and/or modify it + * under the terms and conditions of the GNU General Public License, + * version 2, as published by the Free Software Foundation. + * + * This program is distributed in the hope it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along with + * this program; if not, write to the Free Software Foundation, Inc., 59 Temple + * Place - Suite 330, Boston, MA 02111-1307 USA. + * + * Authors: + * Haiyang Zhang + * Hank Janssen + * K. Y. Srinivasan + * + */ + +#ifndef _HYPERV_VMBUS_H +#define _HYPERV_VMBUS_H + +#endif /* _HYPERV_VMBUS_H */ diff --git a/drivers/staging/hv/ring_buffer.c b/drivers/staging/hv/ring_buffer.c index 60aa1c63f6a2..0a62657fc988 100644 --- a/drivers/staging/hv/ring_buffer.c +++ b/drivers/staging/hv/ring_buffer.c @@ -27,6 +27,7 @@ #include #include "hyperv.h" +#include "hyperv_vmbus.h" #include "ring_buffer.h" diff --git a/drivers/staging/hv/vmbus_drv.c b/drivers/staging/hv/vmbus_drv.c index 042e6df51242..d12c88d4c95c 100644 --- a/drivers/staging/hv/vmbus_drv.c +++ b/drivers/staging/hv/vmbus_drv.c @@ -36,6 +36,7 @@ #include #include "hyperv.h" +#include "hyperv_vmbus.h" #include "hv_api.h" #include "vmbus_private.h"