summaryrefslogtreecommitdiffstats
path: root/net/rfkill
diff options
context:
space:
mode:
authorMichael Buesch <mb@bu3sch.de>2007-11-02 20:18:11 +0100
committerDavid S. Miller <davem@sunset.davemloft.net>2007-11-10 22:00:28 -0800
commit2736622344e9af9801392edf9e733e8a8f6931d1 (patch)
treeadb6fc95923d5a31fd20dabe0bc3d8c68bac6f67 /net/rfkill
parent7319f1e6bcf04abd2eddb19747b0933a76f839ce (diff)
rfkill: Fix sparse warning
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/rfkill')
-rw-r--r--net/rfkill/rfkill.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/rfkill/rfkill.c b/net/rfkill/rfkill.c
index 47e8cd0322c..73d60a30712 100644
--- a/net/rfkill/rfkill.c
+++ b/net/rfkill/rfkill.c
@@ -27,6 +27,10 @@
#include <linux/mutex.h>
#include <linux/rfkill.h>
+/* Get declaration of rfkill_switch_all() to shut up sparse. */
+#include "rfkill-input.h"
+
+
MODULE_AUTHOR("Ivo van Doorn <IvDoorn@gmail.com>");
MODULE_VERSION("1.0");
MODULE_DESCRIPTION("RF switch support");