aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2x00lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00lib.h')
-rw-r--r--drivers/net/wireless/rt2x00/rt2x00lib.h20
1 files changed, 14 insertions, 6 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00lib.h b/drivers/net/wireless/rt2x00/rt2x00lib.h
index e4b4dd23d611..64fae7e3f73b 100644
--- a/drivers/net/wireless/rt2x00/rt2x00lib.h
+++ b/drivers/net/wireless/rt2x00/rt2x00lib.h
@@ -148,28 +148,36 @@ static inline void rt2x00debug_dump_frame(struct rt2x00_dev *rt2x00dev,
148 * RFkill handlers. 148 * RFkill handlers.
149 */ 149 */
150#ifdef CONFIG_RT2X00_LIB_RFKILL 150#ifdef CONFIG_RT2X00_LIB_RFKILL
151int rt2x00rfkill_register(struct rt2x00_dev *rt2x00dev); 151void rt2x00rfkill_register(struct rt2x00_dev *rt2x00dev);
152void rt2x00rfkill_unregister(struct rt2x00_dev *rt2x00dev); 152void rt2x00rfkill_unregister(struct rt2x00_dev *rt2x00dev);
153int rt2x00rfkill_allocate(struct rt2x00_dev *rt2x00dev); 153void rt2x00rfkill_allocate(struct rt2x00_dev *rt2x00dev);
154void rt2x00rfkill_free(struct rt2x00_dev *rt2x00dev); 154void rt2x00rfkill_free(struct rt2x00_dev *rt2x00dev);
155void rt2x00rfkill_suspend(struct rt2x00_dev *rt2x00dev);
156void rt2x00rfkill_resume(struct rt2x00_dev *rt2x00dev);
155#else 157#else
156static inline int rt2x00rfkill_register(struct rt2x00_dev *rt2x00dev) 158static inline void rt2x00rfkill_register(struct rt2x00_dev *rt2x00dev)
157{ 159{
158 return 0;
159} 160}
160 161
161static inline void rt2x00rfkill_unregister(struct rt2x00_dev *rt2x00dev) 162static inline void rt2x00rfkill_unregister(struct rt2x00_dev *rt2x00dev)
162{ 163{
163} 164}
164 165
165static inline int rt2x00rfkill_allocate(struct rt2x00_dev *rt2x00dev) 166static inline void rt2x00rfkill_allocate(struct rt2x00_dev *rt2x00dev)
166{ 167{
167 return 0;
168} 168}
169 169
170static inline void rt2x00rfkill_free(struct rt2x00_dev *rt2x00dev) 170static inline void rt2x00rfkill_free(struct rt2x00_dev *rt2x00dev)
171{ 171{
172} 172}
173
174static inline void rt2x00rfkill_suspend(struct rt2x00_dev *rt2x00dev)
175{
176}
177
178static inline void rt2x00rfkill_resume(struct rt2x00_dev *rt2x00dev)
179{
180}
173#endif /* CONFIG_RT2X00_LIB_RFKILL */ 181#endif /* CONFIG_RT2X00_LIB_RFKILL */
174 182
175/* 183/*