From: Jeffrey <jeffrey.br...@unisys.com>

Changed the typedef LIVEDUMP_INFO to a normal struct and replaced
the only other instance of LIVEDUMP_INFO to "struct LIVEDUMP_INFO"
on line 133

Signed-off-by: Jeffrey Brown <jeffrey.br...@unisys.com>
---
 drivers/staging/unisys/visorchipset/visorchipset_main.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/unisys/visorchipset/visorchipset_main.c 
b/drivers/staging/unisys/visorchipset/visorchipset_main.c
index efb1729..45b1760 100644
--- a/drivers/staging/unisys/visorchipset/visorchipset_main.c
+++ b/drivers/staging/unisys/visorchipset/visorchipset_main.c
@@ -116,7 +116,7 @@ static struct CONTROLVM_PAYLOAD_INFO controlvm_payload_info;
 
 static struct channel_header *test_vnic_channel;
 
-typedef struct {
+struct LIVEDUMP_INFO {
        struct controlvm_message_header dumpcapture_header;
        struct controlvm_message_header gettextdump_header;
        struct controlvm_message_header dumpcomplete_header;
@@ -125,11 +125,12 @@ typedef struct {
        ulong length;
        atomic_t buffers_in_use;
        ulong destination;
-} LIVEDUMP_INFO;
+};
+
 /* Manages the info for a CONTROLVM_DUMP_CAPTURESTATE /
  * CONTROLVM_DUMP_GETTEXTDUMP / CONTROLVM_DUMP_COMPLETE conversation.
  */
-static LIVEDUMP_INFO livedump_info;
+static struct LIVEDUMP_INFO livedump_info;
 
 /* The following globals are used to handle the scenario where we are unable to
  * offload the payload from a controlvm message due to memory requirements.  In
-- 
1.8.4

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to