diff options
author | Michael Buesch <mb@bu3sch.de> | 2007-11-02 20:18:11 +0100 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-11-11 07:00:28 +0100 |
commit | 2736622344e9af9801392edf9e733e8a8f6931d1 (patch) | |
tree | adb6fc95923d5a31fd20dabe0bc3d8c68bac6f67 /net | |
parent | rfkill: Use mutex_lock() at register and add sanity check (diff) | |
download | linux-2736622344e9af9801392edf9e733e8a8f6931d1.tar.xz linux-2736622344e9af9801392edf9e733e8a8f6931d1.zip |
rfkill: Fix sparse warning
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/rfkill/rfkill.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/rfkill/rfkill.c b/net/rfkill/rfkill.c index 47e8cd0322c0..73d60a307129 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"); |