mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 05:48:40 +00:00
staging: unisys: refactor CONTROLVM_MESSAGE_DEVICE_CREATE
Remove the typedef from CONTROLVM_MESSAGE_DEVICE_CREATE, in favor of struct controlvm_message_device_create, fix CamelCase names, and update all references. Header => header Packet => packet Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
e6ad00bbe5
commit
c36acb5579
1 changed files with 4 additions and 4 deletions
|
@ -235,10 +235,10 @@ struct controlvm_packet_device_configure {
|
|||
u32 dev_no; /**< bus-relative (0..n-1) device number */
|
||||
} ; /* for CONTROLVM_DEVICE_CONFIGURE */
|
||||
|
||||
typedef struct _CONTROLVM_MESSAGE_DEVICE_CREATE {
|
||||
struct controlvm_message_header Header;
|
||||
struct controlvm_packet_device_create Packet;
|
||||
} CONTROLVM_MESSAGE_DEVICE_CREATE; /* total 128 bytes */
|
||||
struct controlvm_message_device_create {
|
||||
struct controlvm_message_header header;
|
||||
struct controlvm_packet_device_create packet;
|
||||
}; /* total 128 bytes */
|
||||
|
||||
typedef struct _CONTROLVM_MESSAGE_DEVICE_CONFIGURE {
|
||||
struct controlvm_message_header Header;
|
||||
|
|
Loading…
Reference in a new issue