mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
[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>
This commit is contained in:
parent
a50e2e3f3e
commit
fe242cfd33
4 changed files with 20 additions and 4 deletions
|
@ -2,7 +2,7 @@
|
|||
#define __RFKILL_H
|
||||
|
||||
/*
|
||||
* Copyright (C) 2006 Ivo van Doorn
|
||||
* Copyright (C) 2006 - 2007 Ivo van Doorn
|
||||
* Copyright (C) 2007 Dmitry Torokhov
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
|
@ -84,6 +84,4 @@ void rfkill_free(struct rfkill *rfkill);
|
|||
int rfkill_register(struct rfkill *rfkill);
|
||||
void rfkill_unregister(struct rfkill *rfkill);
|
||||
|
||||
void rfkill_switch_all(enum rfkill_type type, enum rfkill_state state);
|
||||
|
||||
#endif /* RFKILL_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue