]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
rfkill: Fix sparse warning
authorMichael Buesch <mb@bu3sch.de>
Fri, 2 Nov 2007 19:18:11 +0000 (20:18 +0100)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 11 Nov 2007 06:00:28 +0000 (22:00 -0800)
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/rfkill/rfkill.c

index 47e8cd0322c065dc764884802852147c2a95d2aa..73d60a307129110de0aec93b57c6fdacd76d1b88 100644 (file)
 #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");