mirror of https://gitee.com/openkylin/linux.git
staging: unisys: refactor ULTRA_VBUS_CHANNEL_OK_SERVER
Fix the name to SPAR_VBUS_CHANNEL_OK_SERVER and fix the CamelCase parameter: actualBytes => actual_bytes Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
1aa46ce43d
commit
9b8a8a96b7
|
@ -51,11 +51,11 @@ static const uuid_le spar_vbus_channel_protocol_uuid =
|
|||
SPAR_VBUS_CHANNEL_PROTOCOL_VERSIONID, \
|
||||
SPAR_VBUS_CHANNEL_PROTOCOL_SIGNATURE)
|
||||
|
||||
#define ULTRA_VBUS_CHANNEL_OK_SERVER(actualBytes) \
|
||||
#define SPAR_VBUS_CHANNEL_OK_SERVER(actual_bytes) \
|
||||
(spar_check_channel_server(spar_vbus_channel_protocol_uuid, \
|
||||
"vbus", \
|
||||
sizeof(struct ultra_vbus_channel_protocol),\
|
||||
actualBytes))
|
||||
actual_bytes))
|
||||
|
||||
#pragma pack(push, 1) /* both GCC and VC now allow this pragma */
|
||||
typedef struct _ULTRA_VBUS_HEADERINFO {
|
||||
|
|
Loading…
Reference in New Issue