From 2ea6fb6d1eb4d06af5ad2114d1f1f22a6067adac Mon Sep 17 00:00:00 2001 From: "John W. Linville" Date: Tue, 20 Jul 2010 12:29:14 -0400 Subject: [PATCH] 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 --- net/wireless/genregdb.awk | 1 + 1 file changed, 1 insertion(+) 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 " print "#include " + print "#include \"regdb.h\"" print "" regdb = "const struct ieee80211_regdomain *reg_regdb[] = {\n" } -- 2.7.4