Staging: vt6655: remove I8 custom macro
authorCharles Clément <caratorn@gmail.com>
Fri, 28 May 2010 19:34:18 +0000 (12:34 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 18 Jun 2010 17:09:24 +0000 (10:09 -0700)
Remove custom macro for signed 8-bit integers.

Signed-off-by: Charles Clément <caratorn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/vt6655/card.c
drivers/staging/vt6655/card.h
drivers/staging/vt6655/device.h
drivers/staging/vt6655/ttype.h

index f239920d7f237bf48a75309f53d49ca80378e6ba..b972130f7e96db116db21f6408b0d624cf39a5c9 100644 (file)
@@ -2095,7 +2095,7 @@ void
 CARDvSetPowerConstraint (
     void *pDeviceHandler,
     BYTE             byChannel,
-    I8               byPower
+    char byPower
     )
 {
     PSDevice    pDevice = (PSDevice) pDeviceHandler;
@@ -2253,7 +2253,7 @@ CARDbySetSupportChannels (
  * Return Value: none.
  *
 -*/
-I8
+char
 CARDbyGetTransmitPower (
     void *pDeviceHandler
     )
index d2207bfbe11f8579d62ca21d63bc7e0f25076fb2..00dce0310b5d5ab147ba8c038011ccdfb2ac3dcf 100644 (file)
@@ -189,7 +189,7 @@ void
 CARDvSetPowerConstraint (
     void *pDeviceHandler,
     BYTE             byChannel,
-    I8               byPower
+    char byPower
     );
 
 void
@@ -205,7 +205,7 @@ CARDbySetSupportChannels (
     PBYTE        pbyIEs
     );
 
-I8
+char
 CARDbyGetTransmitPower (
     void *pDeviceHandler
     );
index 40ee4e14237e7a912eea443a4efb09de63b3a542..de1289196e74d2e2271fd3b7e0a06c86bfcf9592 100644 (file)
@@ -693,13 +693,13 @@ typedef struct __device_info {
     BYTE                    byCCKPwr;
     BYTE                    byOFDMPwrG;
     BYTE                    byCurPwr;
-    I8                      byCurPwrdBm;
+    char        byCurPwrdBm;
     BYTE                    abyCCKPwrTbl[CB_MAX_CHANNEL_24G+1];
     BYTE                    abyOFDMPwrTbl[CB_MAX_CHANNEL+1];
-    I8                      abyCCKDefaultPwr[CB_MAX_CHANNEL_24G+1];
-    I8                      abyOFDMDefaultPwr[CB_MAX_CHANNEL+1];
-    I8                      abyRegPwr[CB_MAX_CHANNEL+1];
-    I8                      abyLocalPwr[CB_MAX_CHANNEL+1];
+    char       abyCCKDefaultPwr[CB_MAX_CHANNEL_24G+1];
+    char       abyOFDMDefaultPwr[CB_MAX_CHANNEL+1];
+    char       abyRegPwr[CB_MAX_CHANNEL+1];
+    char       abyLocalPwr[CB_MAX_CHANNEL+1];
 
 
     // BaseBand Loopback Use
index 0ee260c8479492787751a09e02aef73234150743..574edfe62281ab0dab6d3c821247bfd1d81ce687 100644 (file)
@@ -68,8 +68,6 @@ typedef int             BOOL;
  * but it doesn't matter if they're signed or unsigned.
  */
 
-typedef signed char             I8;     /* 8-bit signed integer */
-
 typedef unsigned char           U8;     /* 8-bit unsigned integer */
 typedef unsigned short          U16;    /* 16-bit unsigned integer */
 typedef unsigned long           U32;    /* 32-bit unsigned integer */