From cdee15044f25baff5bbdce14cc6959f1a69acb03 Mon Sep 17 00:00:00 2001 From: "K. Y. Srinivasan" Date: Thu, 12 May 2011 19:34:34 -0700 Subject: [PATCH] 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 Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen Signed-off-by: Greg Kroah-Hartman --- 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(+) 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 #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 + * Hank Janssen + * K. Y. Srinivasan + * + */ + +#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 #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 #include "hyperv.h" +#include "hyperv_storage.h" #include "storvsc_api.h" #include "vstorage.h" -- 2.7.4