staging: unisys: clean up GUESTPART_MSG_TYPE typedef
authorBenjamin Romer <benjamin.romer@unisys.com>
Fri, 3 Oct 2014 18:08:44 +0000 (14:08 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Oct 2014 02:29:03 +0000 (10:29 +0800)
Switch GUESTPART_MSG_TYPE over to enum guestpart_msg_type.

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

index 534c7d85a92c4404127b04b4071da6cac0160498..8a84c2474fc5821bd215843e05cf9b9512d24803 100644 (file)
@@ -197,7 +197,6 @@ struct network_policy {
  * code that processes the ControlVm channel messages.
  */
 
-
 enum iopart_msg_type {
        IOPART_ADD_VNIC,
        IOPART_DEL_VNIC,
@@ -327,7 +326,7 @@ struct io_msgs {
 * the ControlVm channel messages.
 */
 
-typedef enum {
+enum guestpart_msg_type {
        GUEST_ADD_VBUS,
        GUEST_ADD_VHBA,
        GUEST_ADD_VNIC,
@@ -342,7 +341,7 @@ typedef enum {
        GUEST_PAUSE_VNIC,
        GUEST_RESUME_VHBA,
        GUEST_RESUME_VNIC
-} GUESTPART_MSG_TYPE;
+};
 
 struct add_vbus_guestpart {
        void __iomem *chanptr;          /* pointer to data channel for bus -
@@ -392,7 +391,7 @@ struct init_chipset_guestpart {
 };
 
 struct guest_msgs {
-       GUESTPART_MSG_TYPE msgtype;
+       enum guestpart_msg_type msgtype;
 
        /* additional params needed by messages */
        union {