]> Pileus Git - ~andy/linux/blobdiff - drivers/staging/vt6655/channel.c
Staging: vt6655: replace BOOL with in kernel bool
[~andy/linux] / drivers / staging / vt6655 / channel.c
index 2aac9d16ea90da08792ecd25a30c00bcf9adca53..47c156bb70a9ff934c2a624dab5225c7ae5f1c52 100644 (file)
@@ -373,9 +373,9 @@ static struct
  * 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140, 149, 153, 157, 161, 165 (Value 23 ~ 56)
  */
 
-BOOL is_channel_valid(unsigned int ChannelIndex)
+bool is_channel_valid(unsigned int ChannelIndex)
 {
-       BOOL    bValid;
+       bool bValid;
 
        bValid = false;
        /*
@@ -407,7 +407,7 @@ exit:
  *                          0x000000000000000F means channel 1,2,..15 are supported
  */
 
-BOOL channel_get_list(unsigned int uCountryCodeIdx, unsigned char *pbyChannelTable)
+bool channel_get_list(unsigned int uCountryCodeIdx, unsigned char *pbyChannelTable)
 {
        if (uCountryCodeIdx >= CCODE_MAX)
                return (false);
@@ -420,7 +420,7 @@ BOOL channel_get_list(unsigned int uCountryCodeIdx, unsigned char *pbyChannelTab
 void init_channel_table(void *pDeviceHandler)
 {
        PSDevice    pDevice = (PSDevice) pDeviceHandler;
-       BOOL        bMultiBand = false;
+       bool bMultiBand = false;
        unsigned int ii;
 
        for(ii = 1 ; ii<=CARD_MAX_CHANNEL_TBL ; ii++) {
@@ -525,10 +525,10 @@ unsigned char get_channel_number(void *pDeviceHandler, unsigned char byChannelIn
  * Return Value: true if succeeded; false if failed.
  *
  */
-BOOL set_channel (void *pDeviceHandler, unsigned int uConnectionChannel)
+bool set_channel (void *pDeviceHandler, unsigned int uConnectionChannel)
 {
        PSDevice pDevice = (PSDevice) pDeviceHandler;
-       BOOL bResult = true;
+       bool bResult = true;
 
 
        if (pDevice->byCurrentCh == uConnectionChannel) {
@@ -745,7 +745,7 @@ void set_country_IE(void *pDeviceHandler, void *pIE)
        pIECountry->len += 3;
 }
 
-BOOL get_channel_map_info(void *pDeviceHandler, unsigned int uChannelIndex,
+bool get_channel_map_info(void *pDeviceHandler, unsigned int uChannelIndex,
                unsigned char *pbyChannelNumber, unsigned char *pbyMap)
 {