summaryrefslogtreecommitdiffstats
path: root/net/rfkill/rfkill-input.c
diff options
context:
space:
mode:
authorIvo van Doorn <IvDoorn@gmail.com>2007-09-27 23:57:05 +0200
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-11 01:53:29 +0200
commitfe242cfd3390b1c7d54d60f7ebb6a4054804cd41 (patch)
tree0a2ad56479c5a48a57c9635139b3b85de2ae5c3d /net/rfkill/rfkill-input.c
parent[PATCH] iwlwifi: fix imcomplete conversion to print_mac API (diff)
downloadlinux-fe242cfd3390b1c7d54d60f7ebb6a4054804cd41.tar.xz
linux-fe242cfd3390b1c7d54d60f7ebb6a4054804cd41.zip
[RFKILL]: Move rfkill_switch_all out of global header
rfkill_switch_all shouldn't be called by drivers directly, instead they should send a signal over the input device. To prevent confusion for driver developers, move the function into a rfkill private header. Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rfkill/rfkill-input.c')
-rw-r--r--net/rfkill/rfkill-input.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/rfkill/rfkill-input.c b/net/rfkill/rfkill-input.c
index 8e4516a5fe32..eaabf087c59b 100644
--- a/net/rfkill/rfkill-input.c
+++ b/net/rfkill/rfkill-input.c
@@ -17,6 +17,8 @@
#include <linux/init.h>
#include <linux/rfkill.h>
+#include "rfkill-input.h"
+
MODULE_AUTHOR("Dmitry Torokhov <dtor@mail.ru>");
MODULE_DESCRIPTION("Input layer to RF switch connector");
MODULE_LICENSE("GPL");