Explorar o código

rfkill: Fix sparse warning

Signed-off-by: John W. Linville <linville@tuxdriver.com>
Michael Buesch %!s(int64=18) %!d(string=hai) anos
pai
achega
2736622344
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      net/rfkill/rfkill.c

+ 4 - 0
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");