summaryrefslogtreecommitdiff
path: root/drivers/staging/hv/osd.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2009-07-14 00:09:34 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-15 19:01:44 (GMT)
commit09d50ff8a233a39e8697e776b06cf5be2de48bb1 (patch)
tree2c46d9fc92516c29cca36e5866ee4995e1bd44f1 /drivers/staging/hv/osd.c
parent51b671f2f40c303fd4d18e346f63af62c9b1f622 (diff)
downloadlinux-fsl-qoriq-09d50ff8a233a39e8697e776b06cf5be2de48bb1.tar.xz
Staging: hv: make the Hyper-V virtual bus code 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. The hv_vmbus 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/osd.c')
-rw-r--r--drivers/staging/hv/osd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/hv/osd.c b/drivers/staging/hv/osd.c
index 8388525..bfb2c8e 100644
--- a/drivers/staging/hv/osd.c
+++ b/drivers/staging/hv/osd.c
@@ -21,6 +21,7 @@
*
*/
+#define KERNEL_2_6_27
#include <linux/module.h>
#include <linux/init.h>
@@ -46,7 +47,7 @@
#include <asm/kmap_types.h>
#include <asm/atomic.h>
-#include "osd.h"
+#include "include/osd.h"
//
// Data types