Commit 023aeaa4 authored by Devendra Naga's avatar Devendra Naga Committed by Greg Kroah-Hartman

staging:wlan-ng: slove sparse warnings

drivers/staging/wlan-ng/prism2fw.c:127:18: warning: symbol 's3data' was not declared. Should it be static?
drivers/staging/wlan-ng/prism2fw.c:130:14: warning: symbol 'ns3plug' was not declared. Should it be static?
drivers/staging/wlan-ng/prism2fw.c:131:18: warning: symbol 's3plug' was not declared. Should it be static?
drivers/staging/wlan-ng/prism2fw.c:134:14: warning: symbol 'ns3crc' was not declared. Should it be static?
drivers/staging/wlan-ng/prism2fw.c:135:17: warning: symbol 's3crc' was not declared. Should it be static?
drivers/staging/wlan-ng/prism2fw.c:138:14: warning: symbol 'ns3info' was not declared. Should it be static?
drivers/staging/wlan-ng/prism2fw.c:139:18: warning: symbol 's3info' was not declared. Should it be static?
drivers/staging/wlan-ng/prism2fw.c:142:5: warning: symbol 'startaddr' was not declared. Should it be static?
drivers/staging/wlan-ng/prism2fw.c:145:14: warning: symbol 'nfchunks' was not declared. Should it be static?
drivers/staging/wlan-ng/prism2fw.c:146:17: warning: symbol 'fchunk' was not declared. Should it be static?
drivers/staging/wlan-ng/prism2fw.c:154:12: warning: symbol 'pda' was not declared. Should it be static?
drivers/staging/wlan-ng/prism2fw.c:155:21: warning: symbol 'nicid' was not declared. Should it be static?
drivers/staging/wlan-ng/prism2fw.c:156:20: warning: symbol 'rfid' was not declared. Should it be static?
drivers/staging/wlan-ng/prism2fw.c:157:20: warning: symbol 'macid' was not declared. Should it be static?
drivers/staging/wlan-ng/prism2fw.c:158:20: warning: symbol 'priid' was not declared. Should it be static?
Signed-off-by: default avatarDevendra Naga <devendra.aaru@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2ea5d82f
...@@ -123,27 +123,27 @@ struct imgchunk { ...@@ -123,27 +123,27 @@ struct imgchunk {
/* s-record image processing */ /* s-record image processing */
/* Data records */ /* Data records */
unsigned int ns3data; static unsigned int ns3data;
struct s3datarec s3data[S3DATA_MAX]; static struct s3datarec s3data[S3DATA_MAX];
/* Plug records */ /* Plug records */
unsigned int ns3plug; static unsigned int ns3plug;
struct s3plugrec s3plug[S3PLUG_MAX]; static struct s3plugrec s3plug[S3PLUG_MAX];
/* CRC records */ /* CRC records */
unsigned int ns3crc; static unsigned int ns3crc;
struct s3crcrec s3crc[S3CRC_MAX]; static struct s3crcrec s3crc[S3CRC_MAX];
/* Info records */ /* Info records */
unsigned int ns3info; static unsigned int ns3info;
struct s3inforec s3info[S3INFO_MAX]; static struct s3inforec s3info[S3INFO_MAX];
/* S7 record (there _better_ be only one) */ /* S7 record (there _better_ be only one) */
u32 startaddr; static u32 startaddr;
/* Load image chunks */ /* Load image chunks */
unsigned int nfchunks; static unsigned int nfchunks;
struct imgchunk fchunk[CHUNKS_MAX]; static struct imgchunk fchunk[CHUNKS_MAX];
/* Note that for the following pdrec_t arrays, the len and code */ /* Note that for the following pdrec_t arrays, the len and code */
/* fields are stored in HOST byte order. The mkpdrlist() function */ /* fields are stored in HOST byte order. The mkpdrlist() function */
...@@ -151,11 +151,11 @@ struct imgchunk fchunk[CHUNKS_MAX]; ...@@ -151,11 +151,11 @@ struct imgchunk fchunk[CHUNKS_MAX];
/*----------------------------------------------------------------*/ /*----------------------------------------------------------------*/
/* PDA, built from [card|newfile]+[addfile1+addfile2...] */ /* PDA, built from [card|newfile]+[addfile1+addfile2...] */
struct pda pda; static struct pda pda;
hfa384x_compident_t nicid; static hfa384x_compident_t nicid;
hfa384x_caplevel_t rfid; static hfa384x_caplevel_t rfid;
hfa384x_caplevel_t macid; static hfa384x_caplevel_t macid;
hfa384x_caplevel_t priid; static hfa384x_caplevel_t priid;
/*================================================================*/ /*================================================================*/
/* Local Function Declarations */ /* Local Function Declarations */
......
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