diff options
author | Ebru Akagunduz <ebru.akagunduz@gmail.com> | 2014-03-07 01:48:49 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-03-07 14:56:14 -0800 |
commit | 1cfe98f523b8b0493278a2c4c9310880ea81df65 (patch) | |
tree | b0f9c0548fa48e9672fcbf8b092f5aa5818e73e7 | |
parent | 913a3449b4ae24ed0c50e3dfb5e9c244462e3cc3 (diff) | |
download | op-kernel-dev-1cfe98f523b8b0493278a2c4c9310880ea81df65.zip op-kernel-dev-1cfe98f523b8b0493278a2c4c9310880ea81df65.tar.gz |
Staging:wlags49_h25: Fix sparse warning for static declarations
This patch fixes the Sparse Warnings "symbol
was not declared. Should it be static?"
Signed-off-by: Ebru Akagunduz <ebru.akagunduz@gmail.com>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/wlags49_h2/wl_wext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/wlags49_h2/wl_wext.c b/drivers/staging/wlags49_h2/wl_wext.c index 404fda1..49eeeae 100644 --- a/drivers/staging/wlags49_h2/wl_wext.c +++ b/drivers/staging/wlags49_h2/wl_wext.c @@ -3778,7 +3778,7 @@ static const iw_handler wl_private_handler[] = #endif }; -struct iw_priv_args wl_priv_args[] = { +static struct iw_priv_args wl_priv_args[] = { {SIOCSIWNETNAME, IW_PRIV_TYPE_CHAR | HCF_MAX_NAME_LEN, 0, "snetwork_name" }, {SIOCGIWNETNAME, 0, IW_PRIV_TYPE_CHAR | HCF_MAX_NAME_LEN, "gnetwork_name" }, {SIOCSIWSTANAME, IW_PRIV_TYPE_CHAR | HCF_MAX_NAME_LEN, 0, "sstation_name" }, |