瀏覽代碼

Staging: vt6655: Fix C99 style commenting.

This patch fixes these error messages found by checkpatch.pl:
ERROR: do not use C99 // comments

Signed-off-by: Aybuke Ozdemir <aybuke.147@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Aybuke Ozdemir 11 年之前
父節點
當前提交
dbc6ee63d4
共有 1 個文件被更改,包括 9 次插入9 次删除
  1. 9 9
      drivers/staging/vt6655/baseband.h

+ 9 - 9
drivers/staging/vt6655/baseband.h

@@ -34,14 +34,14 @@
 #include "tether.h"
 #include "tether.h"
 #include "device.h"
 #include "device.h"
 
 
-//
-// Registers in the BASEBAND
-//
+/*
+ * Registers in the BASEBAND
+ */
 #define BB_MAX_CONTEXT_SIZE 256
 #define BB_MAX_CONTEXT_SIZE 256
 
 
-//
-// Baseband RF pair definition in eeprom (Bits 6..0)
-//
+/*
+ * Baseband RF pair definition in eeprom (Bits 6..0)
+ */
 
 
 #define PREAMBLE_LONG   0
 #define PREAMBLE_LONG   0
 #define PREAMBLE_SHORT  1
 #define PREAMBLE_SHORT  1
@@ -90,7 +90,7 @@ bool BBbIsRegBitsOn(void __iomem *dwIoBase, unsigned char byBBAddr, unsigned cha
 bool BBbIsRegBitsOff(void __iomem *dwIoBase, unsigned char byBBAddr, unsigned char byTestBits);
 bool BBbIsRegBitsOff(void __iomem *dwIoBase, unsigned char byBBAddr, unsigned char byTestBits);
 void BBvSetVGAGainOffset(struct vnt_private *pDevice, unsigned char byData);
 void BBvSetVGAGainOffset(struct vnt_private *pDevice, unsigned char byData);
 
 
-// VT3253 Baseband
+/* VT3253 Baseband */
 bool BBbVT3253Init(struct vnt_private *pDevice);
 bool BBbVT3253Init(struct vnt_private *pDevice);
 void BBvSoftwareReset(void __iomem *dwIoBase);
 void BBvSoftwareReset(void __iomem *dwIoBase);
 void BBvPowerSaveModeON(void __iomem *dwIoBase);
 void BBvPowerSaveModeON(void __iomem *dwIoBase);
@@ -100,7 +100,7 @@ void BBvSetRxAntennaMode(void __iomem *dwIoBase, unsigned char byAntennaMode);
 void BBvSetDeepSleep(void __iomem *dwIoBase, unsigned char byLocalID);
 void BBvSetDeepSleep(void __iomem *dwIoBase, unsigned char byLocalID);
 void BBvExitDeepSleep(void __iomem *dwIoBase, unsigned char byLocalID);
 void BBvExitDeepSleep(void __iomem *dwIoBase, unsigned char byLocalID);
 
 
-// timer for antenna diversity
+/* timer for antenna diversity */
 
 
 void
 void
 TimerSQ3CallBack(
 TimerSQ3CallBack(
@@ -117,4 +117,4 @@ void BBvAntennaDiversity(struct vnt_private *pDevice,
 void
 void
 BBvClearAntDivSQ3Value(struct vnt_private *pDevice);
 BBvClearAntDivSQ3Value(struct vnt_private *pDevice);
 
 
-#endif // __BASEBAND_H__
+#endif /* __BASEBAND_H__ */