diff options
author | Benjamin Romer | 2014-10-23 20:30:24 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2014-10-27 03:33:11 +0100 |
commit | b9b141e8535f157758ed1f457eb639703a7f2326 (patch) | |
tree | a1b26489692c5bbe32ac9f4dcb02b3e315673ba0 /drivers/staging/unisys/common-spar/include/channels/controlvmchannel.h | |
parent | staging: unisys: fix CamelCase macro names in controlframework.h (diff) | |
download | kernel-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.h | 6 |
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 { |