* Fwd: [PATCH 4/4] drivers/staging/vt6656/rf.h: Remove ttype.h and some
@ 2011-11-04 10:11 Marcos Souza
2011-11-04 11:19 ` Fwd: [PATCH 4/4] drivers/staging/vt6656/rf.h: Remove ttype.h and Dan Carpenter
0 siblings, 1 reply; 2+ messages in thread
From: Marcos Souza @ 2011-11-04 10:11 UTC (permalink / raw)
To: kernel-janitors
I forgot to sent these patches, so I'm sending now
Removed ttype.h for the TODO file, and some dead comments.
Signed-off-by: Marcos Paulo de Souza <marcos.mage@gmail.com>
---
drivers/staging/vt6656/rf.h | 38 +++++++++++---------------------------
1 files changed, 11 insertions(+), 27 deletions(-)
diff --git a/drivers/staging/vt6656/rf.h b/drivers/staging/vt6656/rf.h
index f5ba8fd..b7c6c19 100644
--- a/drivers/staging/vt6656/rf.h
+++ b/drivers/staging/vt6656/rf.h
@@ -30,13 +30,10 @@
#ifndef __RF_H__
#define __RF_H__
-#include "ttype.h"
#include "device.h"
-/*--------------------- Export Definitions -------------------------*/
-//
-// Baseband RF pair definition in eeprom (Bits 6..0)
-//
+/* Baseband RF pair definition in eeprom (Bits 6..0) */
+
#define RF_RFMD2959 0x01
#define RF_MAXIMAG 0x02
#define RF_AL2230 0x03
@@ -48,37 +45,24 @@
#define RF_VT3226 0x09
#define RF_AIROHA7230 0x0a
#define RF_UW2453 0x0b
-#define RF_VT3226D0 0x0c //RobertYu:20051114
-#define RF_VT3342A0 0x0d //RobertYu:20060609
+#define RF_VT3226D0 0x0c
+#define RF_VT3342A0 0x0d
#define RF_AL2230S 0x0e
#define RF_EMU 0x80
#define RF_MASK 0x7F
+extern const unsigned char RFaby11aChannelIndex[200];
+int IFRFbWriteEmbeded(PSDevice pDevice, unsigned long dwData);
+int RFbSetPower(PSDevice pDevice, unsigned int uRATE, unsigned int uCH);
-/*--------------------- Export Classes ----------------------------*/
-
-/*--------------------- Export Variables --------------------------*/
-extern const BYTE RFaby11aChannelIndex[200];
-/*--------------------- Export Functions --------------------------*/
-
-BOOL IFRFbWriteEmbeded(PSDevice pDevice, DWORD dwData);
-BOOL RFbSetPower(PSDevice pDevice, unsigned int uRATE, unsigned int uCH);
-
-BOOL RFbRawSetPower(
- PSDevice pDevice,
- BYTE byPwr,
- unsigned int uRATE
- );
+int RFbRawSetPower(PSDevice pDevice, unsigned char byPwr, unsigned int uRATE);
-void RFvRSSITodBm(PSDevice pDevice, BYTE byCurrRSSI, long *pldBm);
+void RFvRSSITodBm(PSDevice pDevice, unsigned char byCurrRSSI, long *pldBm);
void RFbRFTableDownload(PSDevice pDevice);
-BOOL s_bVT3226D0_11bLoCurrentAdjust(
- PSDevice pDevice,
- BYTE byChannel,
- BOOL b11bMode
- );
+int s_bVT3226D0_11bLoCurrentAdjust(PSDevice pDevice, unsigned char byChannel,
+ int b11bMode);
#endif /* __RF_H__ */
--
1.7.4.4
--
Marcos Paulo de Souza
*Porque uma vida sem desafios é uma vida sem razão.*
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: Fwd: [PATCH 4/4] drivers/staging/vt6656/rf.h: Remove ttype.h and
2011-11-04 10:11 Fwd: [PATCH 4/4] drivers/staging/vt6656/rf.h: Remove ttype.h and some Marcos Souza
@ 2011-11-04 11:19 ` Dan Carpenter
0 siblings, 0 replies; 2+ messages in thread
From: Dan Carpenter @ 2011-11-04 11:19 UTC (permalink / raw)
To: kernel-janitors
[-- Attachment #1: Type: text/plain, Size: 91 bytes --]
This one has the same BOOL to int transitions I mentioned before.
regards,
dan carpenter
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-11-04 11:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-04 10:11 Fwd: [PATCH 4/4] drivers/staging/vt6656/rf.h: Remove ttype.h and some Marcos Souza
2011-11-04 11:19 ` Fwd: [PATCH 4/4] drivers/staging/vt6656/rf.h: Remove ttype.h and Dan Carpenter
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.