From: Benjamin Romer Date: Thu, 23 Oct 2014 18:29:51 +0000 (-0400) Subject: staging: unisys: remove typedef for CHANNEL_SERVERSTATE X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=1e73f4b53344b1c213e110383fb0f178e1ff4368;p=deliverable%2Flinux.git staging: unisys: remove typedef for CHANNEL_SERVERSTATE Remove the typedef for CHANNEL_SERVERSTATE and use enum channel_serverstate instead. Signed-off-by: Benjamin Romer Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/unisys/common-spar/include/channels/channel.h b/drivers/staging/unisys/common-spar/include/channels/channel.h index d5102785c77b..8c54adf724ed 100644 --- a/drivers/staging/unisys/common-spar/include/channels/channel.h +++ b/drivers/staging/unisys/common-spar/include/channels/channel.h @@ -50,10 +50,10 @@ #define ULTRA_CHANNEL_PROTOCOL_SIGNATURE SIGNATURE_32('E', 'C', 'N', 'L') -typedef enum { +enum channel_serverstate { CHANNELSRV_UNINITIALIZED = 0, /* channel is in an undefined state */ CHANNELSRV_READY = 1 /* channel has been initialized by server */ -} CHANNEL_SERVERSTATE; +}; typedef enum { CHANNELCLI_DETACHED = 0,