summaryrefslogtreecommitdiff
path: root/net/rfkill/rfkill-input.h
diff options
context:
space:
mode:
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>2008-10-09 18:15:30 -0300
committerJohn W. Linville <linville@tuxdriver.com>2008-10-31 19:00:09 -0400
commit68d2413bec7e1d97e906eafb05e78d925a5ca128 (patch)
tree8282f58381f95108bf891739a866bbe089bb4957 /net/rfkill/rfkill-input.h
parentcf4b4aab552f5f658ed400dd0cd41f9ac8aac7c1 (diff)
rfkill: export global states to rfkill-input
Export the the global switch states to rfkill-input. This is needed to properly implement KEY_* handling without disregarding the initial state. Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br> Cc: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/rfkill/rfkill-input.h')
-rw-r--r--net/rfkill/rfkill-input.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/rfkill/rfkill-input.h b/net/rfkill/rfkill-input.h
index bbfa646157c6..d1e03e85cbed 100644
--- a/net/rfkill/rfkill-input.h
+++ b/net/rfkill/rfkill-input.h
@@ -14,5 +14,6 @@
void rfkill_switch_all(enum rfkill_type type, enum rfkill_state state);
void rfkill_epo(void);
void rfkill_restore_states(void);
+enum rfkill_state rfkill_get_global_state(const enum rfkill_type type);
#endif /* __RFKILL_INPUT_H */