summaryrefslogtreecommitdiffstats
path: root/net/rfkill/rfkill-input.h
diff options
context:
space:
mode:
authorIvo van Doorn <IvDoorn@gmail.com>2007-09-27 14:57:05 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 16:53:29 -0700
commitfe242cfd3390b1c7d54d60f7ebb6a4054804cd41 (patch)
tree0a2ad56479c5a48a57c9635139b3b85de2ae5c3d /net/rfkill/rfkill-input.h
parenta50e2e3f3e6303e893c4c438c0692d459d7093a5 (diff)
downloadop-kernel-dev-fe242cfd3390b1c7d54d60f7ebb6a4054804cd41.zip
op-kernel-dev-fe242cfd3390b1c7d54d60f7ebb6a4054804cd41.tar.gz
[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.h')
-rw-r--r--net/rfkill/rfkill-input.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/net/rfkill/rfkill-input.h b/net/rfkill/rfkill-input.h
new file mode 100644
index 0000000..4dae500
--- /dev/null
+++ b/net/rfkill/rfkill-input.h
@@ -0,0 +1,16 @@
+/*
+ * Copyright (C) 2007 Ivo van Doorn
+ */
+
+/*
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 as published
+ * by the Free Software Foundation.
+ */
+
+#ifndef __RFKILL_INPUT_H
+#define __RFKILL_INPUT_H
+
+void rfkill_switch_all(enum rfkill_type type, enum rfkill_state state);
+
+#endif /* __RFKILL_INPUT_H */
OpenPOWER on IntegriCloud