aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/hv/Channel.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2009-07-14 15:08:20 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-15 12:01:46 -0700
commit5654e932262840f853233317689fc59536226d76 (patch)
treec527031d8e6060a3fe0da9d6daae8281b7173f49 /drivers/staging/hv/Channel.c
parentStaging: hv: remove VOID typedef (diff)
downloadlinux-dev-5654e932262840f853233317689fc59536226d76.tar.xz
linux-dev-5654e932262840f853233317689fc59536226d76.zip
Staging: hv: remove UINT8 and INT8 typedefs
The UINT8 and INT8 typedefs are now removed from the Hyper-V driver code. Had to include <linux/kernel.h> in a few places to get the build to work properly as well. 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/Channel.c')
-rw-r--r--drivers/staging/hv/Channel.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/hv/Channel.c b/drivers/staging/hv/Channel.c
index 07fb5c7f91b7..04268b8309d6 100644
--- a/drivers/staging/hv/Channel.c
+++ b/drivers/staging/hv/Channel.c
@@ -21,7 +21,7 @@
*
*/
-
+#include <linux/kernel.h>
#include "include/osd.h"
#include "include/logging.h"
@@ -162,8 +162,8 @@ VmbusChannelGetDebugInfo(
)
{
HV_MONITOR_PAGE *monitorPage;
- UINT8 monitorGroup = (UINT8)Channel->OfferMsg.MonitorId / 32;
- UINT8 monitorOffset = (UINT8)Channel->OfferMsg.MonitorId % 32;
+ u8 monitorGroup = (u8)Channel->OfferMsg.MonitorId / 32;
+ u8 monitorOffset = (u8)Channel->OfferMsg.MonitorId % 32;
//UINT32 monitorBit = 1 << monitorOffset;
DebugInfo->RelId = Channel->OfferMsg.ChildRelId;