staging: unisys: refactor CONTROLVM_MESSAGE_DEVICE_CREATE
authorBenjamin Romer <benjamin.romer@unisys.com>
Thu, 23 Oct 2014 18:30:29 +0000 (14:30 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Oct 2014 02:33:11 +0000 (10:33 +0800)
Remove the typedef from CONTROLVM_MESSAGE_DEVICE_CREATE, in favor of
struct controlvm_message_device_create, fix CamelCase names, and update
all references.

Header => header
Packet => packet

Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/common-spar/include/channels/controlvmchannel.h

index 7a5524da56c1b578dadd125bceb977f67a3212a7..120fa58fc0c91d5cf1f25291fe72972956339b8d 100644 (file)
@@ -235,10 +235,10 @@ struct controlvm_packet_device_configure  {
        u32 dev_no;           /**< bus-relative (0..n-1) device number */
 } ;    /* for CONTROLVM_DEVICE_CONFIGURE */
 
-typedef struct _CONTROLVM_MESSAGE_DEVICE_CREATE  {
-       struct controlvm_message_header Header;
-       struct controlvm_packet_device_create Packet;
-} CONTROLVM_MESSAGE_DEVICE_CREATE;     /* total 128 bytes */
+struct controlvm_message_device_create {
+       struct controlvm_message_header header;
+       struct controlvm_packet_device_create packet;
+};     /* total 128 bytes */
 
 typedef struct _CONTROLVM_MESSAGE_DEVICE_CONFIGURE  {
        struct controlvm_message_header Header;