Commit 81584137 authored by Marek Belisko's avatar Marek Belisko Committed by Greg Kroah-Hartman

staging: ft1000: Get rid of BOOLEAN typedef usage.

Signed-off-by: default avatarMarek Belisko <marek.belisko@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 84b7801d
...@@ -64,7 +64,7 @@ spinlock_t free_buff_lock; ...@@ -64,7 +64,7 @@ spinlock_t free_buff_lock;
int numofmsgbuf = 0; int numofmsgbuf = 0;
// Global variable to indicate that all provisioning data is sent to DSP // Global variable to indicate that all provisioning data is sent to DSP
//BOOLEAN fProvComplete; //bool fProvComplete;
// //
// Table of entry-point routines for char device // Table of entry-point routines for char device
......
...@@ -785,7 +785,7 @@ u16 scram_dnldr(struct ft1000_device *ft1000dev, void *pFileStart, u32 FileLeng ...@@ -785,7 +785,7 @@ u16 scram_dnldr(struct ft1000_device *ft1000dev, void *pFileStart, u32 FileLeng
struct dsp_file_hdr *pFileHdr5; struct dsp_file_hdr *pFileHdr5;
struct dsp_image_info *pDspImageInfoV6 = NULL; struct dsp_image_info *pDspImageInfoV6 = NULL;
long requested_version; long requested_version;
BOOLEAN bGoodVersion; bool bGoodVersion;
struct drv_msg *pMailBoxData; struct drv_msg *pMailBoxData;
u16 *pUsData = NULL; u16 *pUsData = NULL;
u16 *pUsFile = NULL; u16 *pUsFile = NULL;
......
...@@ -491,7 +491,7 @@ u16 fix_ft1000_write_dpram32(struct ft1000_device *ft1000dev, u16 indx, u8 *buff ...@@ -491,7 +491,7 @@ u16 fix_ft1000_write_dpram32(struct ft1000_device *ft1000dev, u16 indx, u8 *buff
// //
// Returns: None // Returns: None
//----------------------------------------------------------------------- //-----------------------------------------------------------------------
static void card_reset_dsp (struct ft1000_device *ft1000dev, BOOLEAN value) static void card_reset_dsp (struct ft1000_device *ft1000dev, bool value)
{ {
u16 status = STATUS_SUCCESS; u16 status = STATUS_SUCCESS;
u16 tempword; u16 tempword;
...@@ -1479,7 +1479,7 @@ static int ft1000_chkcard (struct ft1000_device *dev) { ...@@ -1479,7 +1479,7 @@ static int ft1000_chkcard (struct ft1000_device *dev) {
// = 1 (successful) // = 1 (successful)
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
static BOOLEAN ft1000_receive_cmd (struct ft1000_device *dev, u16 *pbuffer, int maxsz, u16 *pnxtph) { static bool ft1000_receive_cmd (struct ft1000_device *dev, u16 *pbuffer, int maxsz, u16 *pnxtph) {
u16 size, ret; u16 size, ret;
u16 *ppseudohdr; u16 *ppseudohdr;
int i; int i;
......
...@@ -36,7 +36,7 @@ static struct usb_device_id id_table[] = { ...@@ -36,7 +36,7 @@ static struct usb_device_id id_table[] = {
MODULE_DEVICE_TABLE(usb, id_table); MODULE_DEVICE_TABLE(usb, id_table);
static BOOLEAN gPollingfailed = FALSE; static bool gPollingfailed = FALSE;
int ft1000_poll_thread(void *arg) int ft1000_poll_thread(void *arg)
{ {
int ret = STATUS_SUCCESS; int ret = STATUS_SUCCESS;
......
...@@ -98,7 +98,6 @@ struct prov_record { ...@@ -98,7 +98,6 @@ struct prov_record {
/*end of Jim*/ /*end of Jim*/
#define DEBUG(args...) printk(KERN_INFO args) #define DEBUG(args...) printk(KERN_INFO args)
#define BOOLEAN u8
#define PCHAR u8 * #define PCHAR u8 *
#define UINT u32 #define UINT u32
...@@ -488,9 +487,9 @@ struct ft1000_info { ...@@ -488,9 +487,9 @@ struct ft1000_info {
unsigned char usbboot; unsigned char usbboot;
unsigned short dspalive; unsigned short dspalive;
u16 ASIC_ID; u16 ASIC_ID;
BOOLEAN fProvComplete; bool fProvComplete;
BOOLEAN fCondResetPend; bool fCondResetPend;
BOOLEAN fAppMsgPend; bool fAppMsgPend;
char *pfwimg; char *pfwimg;
int fwimgsz; int fwimgsz;
u16 DrvErrNum; u16 DrvErrNum;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment