summaryrefslogtreecommitdiffstats
path: root/drivers/staging/unisys/common-spar/include/channels/controlvmchannel.h
diff options
context:
space:
mode:
authorBenjamin Romer2014-10-23 20:30:24 +0200
committerGreg Kroah-Hartman2014-10-27 03:33:11 +0100
commitb9b141e8535f157758ed1f457eb639703a7f2326 (patch)
treea1b26489692c5bbe32ac9f4dcb02b3e315673ba0 /drivers/staging/unisys/common-spar/include/channels/controlvmchannel.h
parentstaging: unisys: fix CamelCase macro names in controlframework.h (diff)
downloadkernel-qcow2-linux-b9b141e8535f157758ed1f457eb639703a7f2326.tar.gz
kernel-qcow2-linux-b9b141e8535f157758ed1f457eb639703a7f2326.tar.xz
kernel-qcow2-linux-b9b141e8535f157758ed1f457eb639703a7f2326.zip
staging: unisys: refactor ULTRA_CHIPSET_FEATURE enum
Get rid of the typedef and use enum ultra_chipset_feature instead, and update all references to the enumeration. 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/controlvmchannel.h')
-rw-r--r--drivers/staging/unisys/common-spar/include/channels/controlvmchannel.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/unisys/common-spar/include/channels/controlvmchannel.h b/drivers/staging/unisys/common-spar/include/channels/controlvmchannel.h
index d59dd3545128..20c1506e7e96 100644
--- a/drivers/staging/unisys/common-spar/include/channels/controlvmchannel.h
+++ b/drivers/staging/unisys/common-spar/include/channels/controlvmchannel.h
@@ -158,11 +158,11 @@ struct efi_spar_indication {
/* remaining bits are available */
};
-typedef enum {
+enum ultra_chipset_feature {
ULTRA_CHIPSET_FEATURE_REPLY = 0x00000001,
ULTRA_CHIPSET_FEATURE_PARA_HOTPLUG = 0x00000002,
ULTRA_CHIPSET_FEATURE_PCIVBUS = 0x00000004
-} ULTRA_CHIPSET_FEATURE;
+};
/** This is the common structure that is at the beginning of every
* ControlVm message (both commands and responses) in any ControlVm
@@ -346,7 +346,7 @@ typedef struct _CONTROLVM_MESSAGE_PACKET {
u32 switchCount; /*< indicates the max number of
* switches (applicable for service
* partition only) */
- ULTRA_CHIPSET_FEATURE features;
+ enum ultra_chipset_feature features;
u32 platformNumber; /* Platform Number */
} initChipset; /* for CONTROLVM_CHIPSET_INIT */
struct {