diff options
author | John W. Linville <linville@tuxdriver.com> | 2010-07-20 12:29:14 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-07-20 16:49:37 -0400 |
commit | 2ea6fb6d1eb4d06af5ad2114d1f1f22a6067adac (patch) | |
tree | cd7c92eade53362fe684cd665d61c7ea0581f6f2 /net/wireless | |
parent | c28991a02caec1f3bfe4638ccf4e494c3e9418a3 (diff) | |
download | kernel_samsung_crespo-2ea6fb6d1eb4d06af5ad2114d1f1f22a6067adac.zip kernel_samsung_crespo-2ea6fb6d1eb4d06af5ad2114d1f1f22a6067adac.tar.gz kernel_samsung_crespo-2ea6fb6d1eb4d06af5ad2114d1f1f22a6067adac.tar.bz2 |
wireless: correct sparse warning in generated regdb.c
CHECK net/wireless/regdb.c
net/wireless/regdb.c:8:34: warning: symbol 'reg_regdb' was not declared. Should it be static?
net/wireless/regdb.c:11:5: warning: symbol 'reg_regdb_size' was not declared. Should it be static?
Simply include the also generated regdb.h.
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless')
-rw-r--r-- | net/wireless/genregdb.awk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/wireless/genregdb.awk b/net/wireless/genregdb.awk index 3cc9e69..53c143f 100644 --- a/net/wireless/genregdb.awk +++ b/net/wireless/genregdb.awk @@ -21,6 +21,7 @@ BEGIN { print "" print "#include <linux/nl80211.h>" print "#include <net/cfg80211.h>" + print "#include \"regdb.h\"" print "" regdb = "const struct ieee80211_regdomain *reg_regdb[] = {\n" } |