diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-08-20 19:17:36 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 19:01:58 (GMT) |
commit | ee3d7ddfe54108e2e1e3259fb62ec085404c3a74 (patch) | |
tree | c4777e10194096f411a98908aa2cf90e4d1f2c7a /drivers/staging/hv/Channel.h | |
parent | 54b2b847f522eb2c015455bd592a7214972f4d6c (diff) | |
download | linux-fsl-qoriq-ee3d7ddfe54108e2e1e3259fb62ec085404c3a74.tar.xz |
Staging: hv: typedef removal for VmbusApi.h
The function pointers still have ugly names, but the structures
are now cleaned up.
Note, a comment was added where the driver structure is pointing
at a problem that needs to be fixed up later in the code.
Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/Channel.h')
-rw-r--r-- | drivers/staging/hv/Channel.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/hv/Channel.h b/drivers/staging/hv/Channel.h index d0fd9aa..7fde5cb 100644 --- a/drivers/staging/hv/Channel.h +++ b/drivers/staging/hv/Channel.h @@ -36,7 +36,7 @@ struct VMBUS_CHANNEL_PACKET_PAGE_BUFFER { u64 TransactionId; u32 Reserved; u32 RangeCount; - PAGE_BUFFER Range[MAX_PAGE_BUFFER_COUNT]; + struct hv_page_buffer Range[MAX_PAGE_BUFFER_COUNT]; } __attribute__((packed)); /* The format must be the same as VMDATA_GPA_DIRECT */ @@ -48,7 +48,7 @@ struct VMBUS_CHANNEL_PACKET_MULITPAGE_BUFFER { u64 TransactionId; u32 Reserved; u32 RangeCount; /* Always 1 in this case */ - MULTIPAGE_BUFFER Range; + struct hv_multipage_buffer Range; } __attribute__((packed)); @@ -70,14 +70,14 @@ extern int VmbusChannelSendPacket(struct vmbus_channel *channel, u32 Flags); extern int VmbusChannelSendPacketPageBuffer(struct vmbus_channel *channel, - PAGE_BUFFER PageBuffers[], + struct hv_page_buffer PageBuffers[], u32 PageCount, void *Buffer, u32 BufferLen, u64 RequestId); extern int VmbusChannelSendPacketMultiPageBuffer(struct vmbus_channel *channel, - MULTIPAGE_BUFFER *MultiPageBuffer, + struct hv_multipage_buffer *mpb, void *Buffer, u32 BufferLen, u64 RequestId); |