diff options
author | Charles Clément <caratorn@gmail.com> | 2010-06-24 11:02:27 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-06-24 14:23:18 -0700 |
commit | 3fc9b584c28095fe0d46cfb8bddafdf93947042e (patch) | |
tree | 584415b49edb969a8c8e34f95379334723934c64 /drivers/staging/vt6655/channel.h | |
parent | 2986db5fd31e312206d3ebfa4786aac04bdbe486 (diff) |
Staging: vt6655: remove BYTE typedef
Replace all occurrences with unsigned char type.
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.h')
-rw-r--r-- | drivers/staging/vt6655/channel.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/staging/vt6655/channel.h b/drivers/staging/vt6655/channel.h index ff338f63d6e5..0c82b44a8522 100644 --- a/drivers/staging/vt6655/channel.h +++ b/drivers/staging/vt6655/channel.h @@ -29,10 +29,10 @@ /*--------------------- Export Classes ----------------------------*/ typedef struct tagSChannelTblElement { - BYTE byChannelNumber; + unsigned char byChannelNumber; unsigned int uFrequency; BOOL bValid; - BYTE byMAP; + unsigned char byMAP; }SChannelTblElement, *PSChannelTblElement; @@ -40,19 +40,19 @@ typedef struct tagSChannelTblElement { BOOL is_channel_valid(unsigned int CountryCode); void init_channel_table(void *pDeviceHandler); -BYTE get_channel_mapping(void *pDeviceHandler, BYTE byChannelNumber, CARD_PHY_TYPE ePhyType); +unsigned char get_channel_mapping(void *pDeviceHandler, unsigned char byChannelNumber, CARD_PHY_TYPE ePhyType); BOOL channel_get_list(unsigned int uCountryCodeIdx, unsigned char *pbyChannelTable); -BYTE get_channel_number(void *pDeviceHandler, BYTE byChannelIndex); +unsigned char get_channel_number(void *pDeviceHandler, unsigned char byChannelIndex); BOOL set_channel(void *pDeviceHandler, unsigned int uConnectionChannel); void set_country_info(void *pDeviceHandler, CARD_PHY_TYPE ePHYType, void *pIE); -BYTE set_support_channels(void *pDeviceHandler, unsigned char *pbyIEs); +unsigned char set_support_channels(void *pDeviceHandler, unsigned char *pbyIEs); void set_country_IE(void *pDeviceHandler, void *pIE); BOOL get_channel_map_info(void *pDeviceHandler, unsigned int uChannelIndex, unsigned char *pbyChannelNumber, unsigned char *pbyMap); void set_channel_map_info(void *pDeviceHandler, unsigned int uChannelIndex, - BYTE byMap); + unsigned char byMap); void clear_channel_map_info(void *pDeviceHandler); -BYTE auto_channel_select(void *pDeviceHandler, CARD_PHY_TYPE ePHYType); +unsigned char auto_channel_select(void *pDeviceHandler, CARD_PHY_TYPE ePHYType); #endif /* _CHANNEL_H_ */ |