summaryrefslogtreecommitdiff
path: root/drivers/staging/hv/StorVsc.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2009-07-14 17:18:50 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-15 19:01:44 (GMT)
commit97f4ee3d93602882eb22a3f5e6bf4eb51b7414ce (patch)
tree3736a6d30461ac288962e967f630711507bae17d /drivers/staging/hv/StorVsc.c
parentc4ca0e9e6de92f46271599db90f4ab006c133441 (diff)
downloadlinux-fsl-qoriq-97f4ee3d93602882eb22a3f5e6bf4eb51b7414ce.tar.xz
Staging: hv: make the Hyper-V virtual storage driver build
The #define KERNEL_2_6_27 needs to be set, and I adjusted the include directories a bit to get things to build properly. I also fixed up the direct access of bus_id, as that field is now gone. Some minor scsi api changes were needed as well. The hv_storvsc code should now build properly, with no errors. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/StorVsc.c')
-rw-r--r--drivers/staging/hv/StorVsc.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/staging/hv/StorVsc.c b/drivers/staging/hv/StorVsc.c
index 8a1d776..c8279b7 100644
--- a/drivers/staging/hv/StorVsc.c
+++ b/drivers/staging/hv/StorVsc.c
@@ -21,12 +21,13 @@
*
*/
+#define KERNEL_2_6_27
-#include "logging.h"
+#include "include/logging.h"
-#include "StorVscApi.h"
-#include "VmbusPacketFormat.h"
-#include "vstorage.h"
+#include "include/StorVscApi.h"
+#include "include/VmbusPacketFormat.h"
+#include "include/vstorage.h"
//