7 #ifdef CONFIG_B43_RFKILL
9 #include <linux/rfkill.h>
10 #include <linux/input-polldev.h>
14 /* The RFKILL subsystem data structure */
15 struct rfkill
*rfkill
;
16 /* The poll device for the RFKILL input button */
17 struct input_polled_dev
*poll_dev
;
18 /* The unique name of this rfkill switch */
22 /* All the init functions return void, because we are not interested
23 * in failing the b43 init process when rfkill init failed. */
24 void b43_rfkill_alloc(struct b43_wldev
*dev
);
25 void b43_rfkill_free(struct b43_wldev
*dev
);
26 void b43_rfkill_init(struct b43_wldev
*dev
);
27 void b43_rfkill_exit(struct b43_wldev
*dev
);
29 char * b43_rfkill_led_name(struct b43_wldev
*dev
);
32 #else /* CONFIG_B43_RFKILL */
33 /* No RFKILL support. */
39 static inline void b43_rfkill_alloc(struct b43_wldev
*dev
)
42 static inline void b43_rfkill_free(struct b43_wldev
*dev
)
45 static inline void b43_rfkill_init(struct b43_wldev
*dev
)
48 static inline void b43_rfkill_exit(struct b43_wldev
*dev
)
51 static inline char * b43_rfkill_led_name(struct b43_wldev
*dev
)
56 #endif /* CONFIG_B43_RFKILL */
58 #endif /* B43_RFKILL_H_ */
This page took 0.04218 seconds and 5 git commands to generate.