]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: unisys: remove typedef for DIAG_SEVERITY
authorBenjamin Romer <benjamin.romer@unisys.com>
Thu, 23 Oct 2014 18:30:43 +0000 (14:30 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Oct 2014 02:33:13 +0000 (10:33 +0800)
Get rid of the typedef for DIAG_SEVERITY and just use the enum diag_severity
instead.

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/diagchannel.h

index 6b3c4c82b10e033f3fb3fe284ed4bb889ed732f9..2f0a523a96597e1379cb74f72549dd207dbe779e 100644 (file)
@@ -202,7 +202,8 @@ struct diag_channel_event {
 * they are valid for controlling the amount of event data.  This enum is also
 * defined in DotNet\sParFramework\ControlFramework\ControlFramework.cs.  If a
 * change is made to this enum, they should also be reflected in that file.  */
-typedef enum  { DIAG_SEVERITY_ENUM_BEGIN = 0,
+enum diag_severity {
+               DIAG_SEVERITY_ENUM_BEGIN = 0,
                DIAG_SEVERITY_OVERRIDE = DIAG_SEVERITY_ENUM_BEGIN,
                DIAG_SEVERITY_VERBOSE = DIAG_SEVERITY_OVERRIDE, /* 0 */
                DIAG_SEVERITY_INFO = DIAG_SEVERITY_VERBOSE + 1, /* 1 */
@@ -213,7 +214,7 @@ typedef enum  { DIAG_SEVERITY_ENUM_BEGIN = 0,
                DIAG_SEVERITY_ENUM_END = DIAG_SEVERITY_SHUTOFF, /* 5 */
                DIAG_SEVERITY_NONFATAL_ERR = DIAG_SEVERITY_ERR,
                DIAG_SEVERITY_FATAL_ERR = DIAG_SEVERITY_PRINT
-} DIAG_SEVERITY;
+};
 
 /* Event Cause enums
 *