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

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

 



Create a common header file for storage drivers.

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/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@xxxxxxxxxxxxx>
+ *   Hank Janssen  <hjanssen@xxxxxxxxxxxxx>
+ *   K. Y. Srinivasan <kys@xxxxxxxxxxxxx>
+ *
+ */
+
+#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

_______________________________________________
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