Commit e91a008a authored by Benjamin Romer's avatar Benjamin Romer Committed by Greg Kroah-Hartman

staging: unisys: refactor ULTRA_COMPONENT_TYPES

Get rid of the typedef for ULTRA_COMPONENT_TYPES and use enum
spar_component_types instead.
Signed-off-by: default avatarBenjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f38c5b13
...@@ -120,7 +120,7 @@ struct diag_efi_time { ...@@ -120,7 +120,7 @@ struct diag_efi_time {
u8 pad2; u8 pad2;
}; };
typedef enum { enum spar_component_types {
ULTRA_COMPONENT_GUEST = 0, ULTRA_COMPONENT_GUEST = 0,
ULTRA_COMPONENT_MONITOR = 0x01, ULTRA_COMPONENT_MONITOR = 0x01,
ULTRA_COMPONENT_CCM = 0x02, /* Common Control module */ ULTRA_COMPONENT_CCM = 0x02, /* Common Control module */
...@@ -145,7 +145,7 @@ typedef enum { ...@@ -145,7 +145,7 @@ typedef enum {
ULTRA_COMPONENT_PSERVICES = 0x17, ULTRA_COMPONENT_PSERVICES = 0x17,
ULTRA_COMPONENT_PDIAG = 0x18 ULTRA_COMPONENT_PDIAG = 0x18
/* RESERVED 0x18 - 0x1F */ /* RESERVED 0x18 - 0x1F */
} ULTRA_COMPONENT_TYPES; };
/* Structure: DIAG_CHANNEL_EVENT Purpose: Contains attributes that make up an /* Structure: DIAG_CHANNEL_EVENT Purpose: Contains attributes that make up an
* event to be written to the DIAG_CHANNEL memory. Attributes: EventId: Id of * event to be written to the DIAG_CHANNEL memory. Attributes: EventId: Id of
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment