summaryrefslogtreecommitdiffstats
path: root/drivers/staging/unisys/common-spar/include/channels/controlvmchannel.h
diff options
context:
space:
mode:
authorBenjamin Romer2014-10-23 20:30:31 +0200
committerGreg Kroah-Hartman2014-10-27 03:33:11 +0100
commit3ab477012935626a66ad50bdae1fe7acf03be10a (patch)
tree1ab5f371a70539c1c335410ea9426c949a98b0e9 /drivers/staging/unisys/common-spar/include/channels/controlvmchannel.h
parentstaging: unisys: refactor CONTROLVM_MESSAGE_DEVICE_CONFIGURE (diff)
downloadkernel-qcow2-linux-3ab477012935626a66ad50bdae1fe7acf03be10a.tar.gz
kernel-qcow2-linux-3ab477012935626a66ad50bdae1fe7acf03be10a.tar.xz
kernel-qcow2-linux-3ab477012935626a66ad50bdae1fe7acf03be10a.zip
staging: unisys: remove typedef from CONTROLVM_MESSAGE
Remove the typedef and use struct controlvm_message instead. Update all references. Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/unisys/common-spar/include/channels/controlvmchannel.h')
-rw-r--r--drivers/staging/unisys/common-spar/include/channels/controlvmchannel.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/staging/unisys/common-spar/include/channels/controlvmchannel.h b/drivers/staging/unisys/common-spar/include/channels/controlvmchannel.h
index 6dc79d8fd795..8bc2e174ddcc 100644
--- a/drivers/staging/unisys/common-spar/include/channels/controlvmchannel.h
+++ b/drivers/staging/unisys/common-spar/include/channels/controlvmchannel.h
@@ -337,10 +337,10 @@ struct controlvm_message_packet {
};
/* All messages in any ControlVm queue have this layout. */
-typedef struct _CONTROLVM_MESSAGE {
+struct controlvm_message {
struct controlvm_message_header hdr;
struct controlvm_message_packet cmd;
-} CONTROLVM_MESSAGE;
+};
typedef struct _DEVICE_MAP {
GUEST_PHYSICAL_ADDRESS DeviceChannelAddress;
@@ -447,19 +447,19 @@ typedef struct _ULTRA_CONTROLVM_CHANNEL_PROTOCOL {
* Control events */
/* Request fixed-size message pool - does not include payload */
- CONTROLVM_MESSAGE RequestMsg[CONTROLVM_MESSAGE_MAX];
+ struct controlvm_message RequestMsg[CONTROLVM_MESSAGE_MAX];
/* Response fixed-size message pool - does not include payload */
- CONTROLVM_MESSAGE ResponseMsg[CONTROLVM_MESSAGE_MAX];
+ struct controlvm_message ResponseMsg[CONTROLVM_MESSAGE_MAX];
/* Event fixed-size message pool - does not include payload */
- CONTROLVM_MESSAGE EventMsg[CONTROLVM_MESSAGE_MAX];
+ struct controlvm_message EventMsg[CONTROLVM_MESSAGE_MAX];
/* Ack fixed-size message pool - does not include payload */
- CONTROLVM_MESSAGE EventAckMsg[CONTROLVM_MESSAGE_MAX];
+ struct controlvm_message EventAckMsg[CONTROLVM_MESSAGE_MAX];
/* Message stored during IOVM creation to be reused after crash */
- CONTROLVM_MESSAGE SavedCrashMsg[CONTROLVM_CRASHMSG_MAX];
+ struct controlvm_message SavedCrashMsg[CONTROLVM_CRASHMSG_MAX];
} ULTRA_CONTROLVM_CHANNEL_PROTOCOL;
/* Offsets for VM channel attributes... */