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>
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 @@
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 @@
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 @@
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);