linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] rfkill: Fix sparse warning
@ 2007-11-02 19:18 Michael Buesch
  0 siblings, 0 replies; only message in thread
From: Michael Buesch @ 2007-11-02 19:18 UTC (permalink / raw)
  To: John Linville; +Cc: linux-wireless, Ivo van Doorn

Index: wireless-2.6/net/rfkill/rfkill.c
===================================================================
--- wireless-2.6.orig/net/rfkill/rfkill.c	2007-11-02 20:05:54.000000000 +0100
+++ wireless-2.6/net/rfkill/rfkill.c	2007-11-02 20:16:09.000000000 +0100
@@ -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");

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-11-02 19:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-02 19:18 [PATCH] rfkill: Fix sparse warning Michael Buesch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).