Skip to contentSkip to conversation

rfkill: Fix sparse warning

PATCH New Michael Buesch 1 participant 1 message Nov 2, 2007 Rfkill

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rfkill: Fix sparse warning

net/rfkill/rfkill.c +4 -0
Index: wireless-2.6/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 <[email protected]>");
 MODULE_VERSION("1.0");
 MODULE_DESCRIPTION("RF switch support");