[PATCH 21/64] Staging: hv: stor: Create a common header file for storage drivers

K. Y. Srinivasan kys at microsoft.com
Fri May 13 02:34:34 UTC 2011


Create a common header file for storage drivers.

Signed-off-by: K. Y. Srinivasan <kys at microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz at microsoft.com>
Signed-off-by: Abhishek Kane <v-abkane at microsoft.com>
Signed-off-by: Hank Janssen <hjanssen at microsoft.com>
---
 drivers/staging/hv/blkvsc_drv.c     |    1 +
 drivers/staging/hv/hyperv_storage.h |   29 +++++++++++++++++++++++++++++
 drivers/staging/hv/storvsc.c        |    1 +
 drivers/staging/hv/storvsc_drv.c    |    1 +
 4 files changed, 32 insertions(+), 0 deletions(-)
 create mode 100644 drivers/staging/hv/hyperv_storage.h

diff --git a/drivers/staging/hv/blkvsc_drv.c b/drivers/staging/hv/blkvsc_drv.c
index 8cc0b8d..366460f 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 0000000..b47d102
--- /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 at microsoft.com>
+ *   Hank Janssen  <hjanssen at microsoft.com>
+ *   K. Y. Srinivasan <kys at 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 dc8bb53..163833e 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 3a0b284..5a724b5 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"
 
-- 
1.7.4.1




More information about the devel mailing list