diff options
author | Benjamin Romer | 2014-10-23 20:30:28 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2014-10-27 03:33:11 +0100 |
commit | e6ad00bbe5053ad4eca363105726976968ed8415 (patch) | |
tree | 7a4a2aaac55310d98573af515c3d963950334f65 /drivers/staging/unisys/common-spar/include/channels/controlvmchannel.h | |
parent | staging: unisys: refactor CONTROLVM_PACKET_DEVICE_CREATE (diff) | |
download | kernel-qcow2-linux-e6ad00bbe5053ad4eca363105726976968ed8415.tar.gz kernel-qcow2-linux-e6ad00bbe5053ad4eca363105726976968ed8415.tar.xz kernel-qcow2-linux-e6ad00bbe5053ad4eca363105726976968ed8415.zip |
staging: unisys: refactor CONTROLVM_PACKET_DEVICE_CONFIGURE
Remove the typedef from CONTROLVM_PACKET_DEVICE_CONFIGURE, in favor of
struct controlvm_packet_device_configure. Fix CamelCase names and update
all references to modified names.
busNo => bus_no
devNo => dev_no
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 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/staging/unisys/common-spar/include/channels/controlvmchannel.h b/drivers/staging/unisys/common-spar/include/channels/controlvmchannel.h index 78c4b3366da4..7a5524da56c1 100644 --- a/drivers/staging/unisys/common-spar/include/channels/controlvmchannel.h +++ b/drivers/staging/unisys/common-spar/include/channels/controlvmchannel.h @@ -227,13 +227,13 @@ struct controlvm_packet_device_create { struct irq_info intr; /* specifies interrupt information */ }; /* for CONTROLVM_DEVICE_CREATE */ -typedef struct _CONTROLVM_PACKET_DEVICE_CONFIGURE { - u32 busNo; /**< bus # (0..n-1) from the msg +struct controlvm_packet_device_configure { + u32 bus_no; /**< bus # (0..n-1) from the msg * receiver's perspective */ /* Control uses header SegmentIndex field to access bus number... */ - u32 devNo; /**< bus-relative (0..n-1) device number */ -} CONTROLVM_PACKET_DEVICE_CONFIGURE; /* for CONTROLVM_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; @@ -242,7 +242,7 @@ typedef struct _CONTROLVM_MESSAGE_DEVICE_CREATE { typedef struct _CONTROLVM_MESSAGE_DEVICE_CONFIGURE { struct controlvm_message_header Header; - CONTROLVM_PACKET_DEVICE_CONFIGURE Packet; + struct controlvm_packet_device_configure Packet; } CONTROLVM_MESSAGE_DEVICE_CONFIGURE; /* total 56 bytes */ /* This is the format for a message in any ControlVm queue. */ @@ -289,7 +289,7 @@ struct controlvm_message_packet { u32 dev_no; /* bus-relative (0..n-1) device # */ } destroy_device; /* for CONTROLVM_DEVICE_DESTROY */ /* for CONTROLVM_DEVICE_CONFIGURE */ - CONTROLVM_PACKET_DEVICE_CONFIGURE configure_device; + struct controlvm_packet_device_configure configure_device; struct { u32 bus_no; /* bus # (0..n-1) from the msg * receiver's perspective */ |