2014-07-24 03:44:06

by Nicholas Krause

[permalink] [raw]
Subject: [PATCH] staging: Remove checkpatch errors in InterfaceMarcos.h

This removes the two errors I get when running checkpatch on this
file. The first being not to use C99 comments and the second to
remove spacing issues with the define statement on line 7.

Signed-off-by: Nicholas Krause <[email protected]>
---
drivers/staging/bcm/InterfaceMacros.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/bcm/InterfaceMacros.h b/drivers/staging/bcm/InterfaceMacros.h
index 7001caf..531aadf 100644
--- a/drivers/staging/bcm/InterfaceMacros.h
+++ b/drivers/staging/bcm/InterfaceMacros.h
@@ -4,13 +4,13 @@
#define BCM_USB_MAX_READ_LENGTH 2048

#define MAXIMUM_USB_TCB 128
-#define MAXIMUM_USB_RCB 128
+#define MAXIMUM_USB_RCB 128

#define MAX_BUFFERS_PER_QUEUE 256

#define MAX_DATA_BUFFER_SIZE 2048

-//Num of Asynchronous reads pending
+/* Num of Asynchronous reads pending */
#define NUM_RX_DESC 64

#define SYS_CFG 0x0F000C00
--
1.9.1