summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorK. Y. Srinivasan2011-05-13 04:34:34 +0200
committerGreg Kroah-Hartman2011-05-17 21:27:05 +0200
commitcdee15044f25baff5bbdce14cc6959f1a69acb03 (patch)
tree79385d855e2c4c173013e058dc3cae65360840c7
parentStaging: hv: vmbus_drv: Cleanup hyperv_vmbus.h (diff)
downloadkernel-qcow2-linux-cdee15044f25baff5bbdce14cc6959f1a69acb03.tar.gz
kernel-qcow2-linux-cdee15044f25baff5bbdce14cc6959f1a69acb03.tar.xz
kernel-qcow2-linux-cdee15044f25baff5bbdce14cc6959f1a69acb03.zip
Staging: hv: stor: Create a common header file for storage drivers
Create a common header file for storage drivers. Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Abhishek Kane <v-abkane@microsoft.com> Signed-off-by: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/staging/hv/blkvsc_drv.c1
-rw-r--r--drivers/staging/hv/hyperv_storage.h29
-rw-r--r--drivers/staging/hv/storvsc.c1
-rw-r--r--drivers/staging/hv/storvsc_drv.c1
4 files changed, 32 insertions, 0 deletions
diff --git a/drivers/staging/hv/blkvsc_drv.c b/drivers/staging/hv/blkvsc_drv.c
index 8cc0b8dbc930..366460fab7d4 100644
--- a/drivers/staging/hv/blkvsc_drv.c
+++ b/drivers/staging/hv/blkvsc_drv.c
@@ -33,6 +33,7 @@
#include <scsi/scsi_dbg.h>
#include "hyperv.h"
+#include "hyperv_storage.h"
#include "storvsc_api.h"
diff --git a/drivers/staging/hv/hyperv_storage.h b/drivers/staging/hv/hyperv_storage.h
new file mode 100644
index 000000000000..b47d102456bb
--- /dev/null
+++ b/drivers/staging/hv/hyperv_storage.h
@@ -0,0 +1,29 @@
+/*
+ *
+ * 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@microsoft.com>
+ * Hank Janssen <hjanssen@microsoft.com>
+ * K. Y. Srinivasan <kys@microsoft.com>
+ *
+ */
+
+#ifndef _HYPERV_STORAGE_H
+#define _HYPERV_STORAGE_H
+
+
+#endif /* _HYPERV_STORAGE_H */
diff --git a/drivers/staging/hv/storvsc.c b/drivers/staging/hv/storvsc.c
index dc8bb539d650..163833ebfee2 100644
--- a/drivers/staging/hv/storvsc.c
+++ b/drivers/staging/hv/storvsc.c
@@ -29,6 +29,7 @@
#include <linux/delay.h>
#include "hyperv.h"
+#include "hyperv_storage.h"
#include "storvsc_api.h"
#include "vstorage.h"
diff --git a/drivers/staging/hv/storvsc_drv.c b/drivers/staging/hv/storvsc_drv.c
index 3a0b28446f86..5a724b53f9d6 100644
--- a/drivers/staging/hv/storvsc_drv.c
+++ b/drivers/staging/hv/storvsc_drv.c
@@ -34,6 +34,7 @@
#include <scsi/scsi_dbg.h>
#include "hyperv.h"
+#include "hyperv_storage.h"
#include "storvsc_api.h"
#include "vstorage.h"