diff options
author | Charles Clément <caratorn@gmail.com> | 2010-08-01 17:15:50 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-08-02 18:17:57 -0700 |
commit | 7b6a001313a9b11a1f0985de05fff514db41d72d (patch) | |
tree | c5f5bdcb4fcef70b5a2613a6382a0cd065bda892 /drivers/staging/vt6655/channel.c | |
parent | 5a5a2a6ad4aa2467bcc34fa50e85c2afc90bab05 (diff) | |
download | op-kernel-dev-7b6a001313a9b11a1f0985de05fff514db41d72d.zip op-kernel-dev-7b6a001313a9b11a1f0985de05fff514db41d72d.tar.gz |
Staging: vt6655: replace BOOL with in kernel bool
Signed-off-by: Charles Clément <caratorn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/vt6655/channel.c')
-rw-r--r-- | drivers/staging/vt6655/channel.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/staging/vt6655/channel.c b/drivers/staging/vt6655/channel.c index 2aac9d1..47c156b 100644 --- a/drivers/staging/vt6655/channel.c +++ b/drivers/staging/vt6655/channel.c @@ -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) { |