diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-07-13 17:09:34 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 12:01:44 -0700 |
commit | 09d50ff8a233a39e8697e776b06cf5be2de48bb1 (patch) | |
tree | 2c46d9fc92516c29cca36e5866ee4995e1bd44f1 /drivers/staging/hv/osd.c | |
parent | 51b671f2f40c303fd4d18e346f63af62c9b1f622 (diff) | |
download | op-kernel-dev-09d50ff8a233a39e8697e776b06cf5be2de48bb1.zip op-kernel-dev-09d50ff8a233a39e8697e776b06cf5be2de48bb1.tar.gz |
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.c | 3 |
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 |