From: Benjamin Romer Date: Thu, 23 Oct 2014 18:31:08 +0000 (-0400) Subject: staging: unisys: refactor ULTRA_VBUS_CHANNEL_OK_SERVER X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9b8a8a96b7b41fac458fab603f51ec562b31ae21;p=openwrt%2Fstaging%2Fblogic.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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/unisys/common-spar/include/channels/vbuschannel.h b/drivers/staging/unisys/common-spar/include/channels/vbuschannel.h index c1a73df43f35..873ba76253dd 100644 --- a/drivers/staging/unisys/common-spar/include/channels/vbuschannel.h +++ b/drivers/staging/unisys/common-spar/include/channels/vbuschannel.h @@ -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 {