mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-16 01:04:08 +08:00
Staging: wlan-ng: Fixed non static functions in prism2fw.c
Fixed non static functions in prism2fw.c Signed-off-by: Zachary Richey <zr.public@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
3041f30672
commit
a05d08c40c
@ -160,21 +160,30 @@ hfa384x_caplevel_t priid;
|
||||
/*================================================================*/
|
||||
/* Local Function Declarations */
|
||||
|
||||
int prism2_fwapply(const struct ihex_binrec *rfptr, wlandevice_t *wlandev);
|
||||
int read_fwfile(const struct ihex_binrec *rfptr);
|
||||
int mkimage(imgchunk_t *clist, unsigned int *ccnt);
|
||||
int read_cardpda(pda_t *pda, wlandevice_t *wlandev);
|
||||
int mkpdrlist(pda_t *pda);
|
||||
int plugimage(imgchunk_t *fchunk, unsigned int nfchunks,
|
||||
s3plugrec_t *s3plug, unsigned int ns3plug, pda_t * pda);
|
||||
int crcimage(imgchunk_t *fchunk, unsigned int nfchunks,
|
||||
s3crcrec_t *s3crc, unsigned int ns3crc);
|
||||
int writeimage(wlandevice_t *wlandev, imgchunk_t *fchunk,
|
||||
unsigned int nfchunks);
|
||||
void free_chunks(imgchunk_t *fchunk, unsigned int *nfchunks);
|
||||
void free_srecs(void);
|
||||
static int prism2_fwapply(const struct ihex_binrec *rfptr,
|
||||
wlandevice_t *wlandev);
|
||||
|
||||
int validate_identity(void);
|
||||
static int read_fwfile(const struct ihex_binrec *rfptr);
|
||||
|
||||
static int mkimage(imgchunk_t *clist, unsigned int *ccnt);
|
||||
|
||||
static int read_cardpda(pda_t *pda, wlandevice_t *wlandev);
|
||||
|
||||
static int mkpdrlist(pda_t *pda);
|
||||
|
||||
static int plugimage(imgchunk_t *fchunk, unsigned int nfchunks,
|
||||
s3plugrec_t *s3plug, unsigned int ns3plug, pda_t * pda);
|
||||
|
||||
static int crcimage(imgchunk_t *fchunk, unsigned int nfchunks,
|
||||
s3crcrec_t *s3crc, unsigned int ns3crc);
|
||||
|
||||
static int writeimage(wlandevice_t *wlandev, imgchunk_t *fchunk,
|
||||
unsigned int nfchunks);
|
||||
static void free_chunks(imgchunk_t *fchunk, unsigned int *nfchunks);
|
||||
|
||||
static void free_srecs(void);
|
||||
|
||||
static int validate_identity(void);
|
||||
|
||||
/*================================================================*/
|
||||
/* Function Definitions */
|
||||
@ -255,7 +264,7 @@ int prism2_fwapply(const struct ihex_binrec *rfptr, wlandevice_t *wlandev)
|
||||
/* clear the pda and add an initial END record */
|
||||
memset(&pda, 0, sizeof(pda));
|
||||
pda.rec[0] = (hfa384x_pdrec_t *) pda.buf;
|
||||
pda.rec[0]->len = cpu_to_le16(2); /* len in words *//* len in words */
|
||||
pda.rec[0]->len = cpu_to_le16(2); /* len in words */
|
||||
pda.rec[0]->code = cpu_to_le16(HFA384x_PDR_END_OF_PDA);
|
||||
pda.nrec = 1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user