[PATCH 06/13] staging/hv: use struct port_info

Joe Perches joe at perches.com
Thu Jul 30 00:40:59 UTC 2009


Signed-off-by: Joe Perches <joe at perches.com>
---
 drivers/staging/hv/include/VmbusApi.h |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/hv/include/VmbusApi.h b/drivers/staging/hv/include/VmbusApi.h
index 72dacc2..515a8ef 100644
--- a/drivers/staging/hv/include/VmbusApi.h
+++ b/drivers/staging/hv/include/VmbusApi.h
@@ -136,13 +136,13 @@ typedef int (*VMBUS_CHANNEL_ESTABLISH_GPADL) (struct hv_device * Device, void *B
 typedef int (*VMBUS_CHANNEL_TEARDOWN_GPADL) (struct hv_device * Device,
 					     u32 GpadlHandle);
 
-typedef struct _PORT_INFO {
+struct port_info {
 	u32 InterruptMask;
 	u32 ReadIndex;
 	u32 WriteIndex;
 	u32 BytesAvailToRead;
 	u32 BytesAvailToWrite;
-} PORT_INFO;
+};
 
 typedef struct _DEVICE_INFO {
 	u32 ChannelId;
@@ -158,8 +158,8 @@ typedef struct _DEVICE_INFO {
 	u32 ClientMonitorLatency;
 	u32 ClientMonitorConnectionId;
 
-	PORT_INFO Inbound;
-	PORT_INFO Outbound;
+	struct port_info Inbound;
+	struct port_info Outbound;
 } DEVICE_INFO;
 
 typedef void (*VMBUS_GET_CHANNEL_INFO) (struct hv_device * Device,
-- 
1.6.3.1.10.g659a0.dirty




More information about the devel mailing list