Fix the name to SPAR_VBUS_CHANNEL_OK_SERVER and fix the CamelCase parameter:

actualBytes => actual_bytes

Signed-off-by: Benjamin Romer <benjamin.ro...@unisys.com>
---
 drivers/staging/unisys/common-spar/include/channels/vbuschannel.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/unisys/common-spar/include/channels/vbuschannel.h 
b/drivers/staging/unisys/common-spar/include/channels/vbuschannel.h
index c1a73df..873ba76 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 {
-- 
1.9.1

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to