diff options
author | John W. Linville <linville@tuxdriver.com> | 2010-07-20 18:29:14 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-07-20 22:49:37 +0200 |
commit | 2ea6fb6d1eb4d06af5ad2114d1f1f22a6067adac (patch) | |
tree | cd7c92eade53362fe684cd665d61c7ea0581f6f2 /net/wireless/genregdb.awk | |
parent | wireless: correct sparse warning in wext-compat.c (diff) | |
download | linux-2ea6fb6d1eb4d06af5ad2114d1f1f22a6067adac.tar.xz linux-2ea6fb6d1eb4d06af5ad2114d1f1f22a6067adac.zip |
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/genregdb.awk')
-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 3cc9e69880a8..53c143f5e770 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" } |