[PATCH 15/64] Staging: hv: vmbus_drv: Create a common header file to build the vmbus driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Create a common header file to build the vmbus driver.

Signed-off-by: K. Y. Srinivasan <kys@xxxxxxxxxxxxx>
Signed-off-by: Haiyang Zhang <haiyangz@xxxxxxxxxxxxx>
Signed-off-by: Abhishek Kane <v-abkane@xxxxxxxxxxxxx>
Signed-off-by: Hank Janssen <hjanssen@xxxxxxxxxxxxx>
---
 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(+), 0 deletions(-)
 create mode 100644 drivers/staging/hv/hyperv_vmbus.h

diff --git a/drivers/staging/hv/channel.c b/drivers/staging/hv/channel.c
index 21cdfde..aac59fa 100644
--- a/drivers/staging/hv/channel.c
+++ b/drivers/staging/hv/channel.c
@@ -28,6 +28,7 @@
 #include <linux/module.h>
 
 #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 bbc147f..c73ae5f 100644
--- a/drivers/staging/hv/channel_mgmt.c
+++ b/drivers/staging/hv/channel_mgmt.c
@@ -30,6 +30,7 @@
 #include <linux/completion.h>
 
 #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 6ebc106..663aeed 100644
--- a/drivers/staging/hv/connection.c
+++ b/drivers/staging/hv/connection.c
@@ -30,6 +30,7 @@
 #include <linux/vmalloc.h>
 
 #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 2ceced2..dede9ce 100644
--- a/drivers/staging/hv/hv.c
+++ b/drivers/staging/hv/hv.c
@@ -27,6 +27,7 @@
 #include <linux/vmalloc.h>
 
 #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 0000000..dafd13b
--- /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 <haiyangz@xxxxxxxxxxxxx>
+ *   Hank Janssen  <hjanssen@xxxxxxxxxxxxx>
+ *   K. Y. Srinivasan <kys@xxxxxxxxxxxxx>
+ *
+ */
+
+#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 60aa1c6..0a62657 100644
--- a/drivers/staging/hv/ring_buffer.c
+++ b/drivers/staging/hv/ring_buffer.c
@@ -27,6 +27,7 @@
 #include <linux/mm.h>
 
 #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 042e6df..d12c88d 100644
--- a/drivers/staging/hv/vmbus_drv.c
+++ b/drivers/staging/hv/vmbus_drv.c
@@ -36,6 +36,7 @@
 #include <linux/completion.h>
 
 #include "hyperv.h"
+#include "hyperv_vmbus.h"
 #include "hv_api.h"
 #include "vmbus_private.h"
 
-- 
1.7.4.1

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux