aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/unisys/common-spar/include/channels/diagchannel.h
diff options
context:
space:
mode:
authorBenjamin Romer <benjamin.romer@unisys.com>2014-10-23 14:30:41 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-10-27 10:33:12 +0800
commite91a008a47efcaeb20745e0bf77797b36d559fc5 (patch)
tree6ef3917e324fc6320ff589e0035bc39f86791f39 /drivers/staging/unisys/common-spar/include/channels/diagchannel.h
parentstaging: unisys: refactor DIAG_EFI_TIME (diff)
downloadlinux-dev-e91a008a47efcaeb20745e0bf77797b36d559fc5.tar.xz
linux-dev-e91a008a47efcaeb20745e0bf77797b36d559fc5.zip
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: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/unisys/common-spar/include/channels/diagchannel.h')
-rw-r--r--drivers/staging/unisys/common-spar/include/channels/diagchannel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/unisys/common-spar/include/channels/diagchannel.h b/drivers/staging/unisys/common-spar/include/channels/diagchannel.h
index 8f2a7626cdfa..61259e48905a 100644
--- a/drivers/staging/unisys/common-spar/include/channels/diagchannel.h
+++ b/drivers/staging/unisys/common-spar/include/channels/diagchannel.h
@@ -120,7 +120,7 @@ struct diag_efi_time {
u8 pad2;
};
-typedef enum {
+enum spar_component_types {
ULTRA_COMPONENT_GUEST = 0,
ULTRA_COMPONENT_MONITOR = 0x01,
ULTRA_COMPONENT_CCM = 0x02, /* Common Control module */
@@ -145,7 +145,7 @@ typedef enum {
ULTRA_COMPONENT_PSERVICES = 0x17,
ULTRA_COMPONENT_PDIAG = 0x18
/* RESERVED 0x18 - 0x1F */
-} ULTRA_COMPONENT_TYPES;
+};
/* Structure: DIAG_CHANNEL_EVENT Purpose: Contains attributes that make up an
* event to be written to the DIAG_CHANNEL memory. Attributes: EventId: Id of