7 #ifdef CONFIG_B43_RFKILL
9 #include <linux/rfkill.h>
12 /* The RFKILL subsystem data structure */
13 struct rfkill *rfkill;
14 /* The unique name of this rfkill switch */
16 /* Workqueue for asynchronous notification. */
17 struct work_struct notify_work;
20 void b43_rfkill_init(struct b43_wldev *dev);
21 void b43_rfkill_exit(struct b43_wldev *dev);
22 void b43_rfkill_toggled(struct b43_wldev *dev, bool on);
23 char * b43_rfkill_led_name(struct b43_wldev *dev);
26 #else /* CONFIG_B43_RFKILL */
27 /* No RFKILL support. */
33 static inline void b43_rfkill_init(struct b43_wldev *dev)
36 static inline void b43_rfkill_exit(struct b43_wldev *dev)
39 static inline void b43_rfkill_toggled(struct b43_wldev *dev, bool on)
42 static inline char * b43_rfkill_led_name(struct b43_wldev *dev)
47 #endif /* CONFIG_B43_RFKILL */
49 #endif /* B43_RFKILL_H_ */