]>
git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blob - drivers/net/wireless/b43/rfkill.h
7 #ifdef CONFIG_B43_RFKILL
9 #include <linux/rfkill.h>
13 /* The RFKILL subsystem data structure */
14 struct rfkill
*rfkill
;
15 /* Did initialization succeed? Used for freeing. */
17 /* The unique name of this rfkill switch */
18 char name
[sizeof("b43-phy4294967295")];
21 /* The init function returns void, because we are not interested
22 * in failing the b43 init process when rfkill init failed. */
23 void b43_rfkill_init(struct b43_wldev
*dev
);
24 void b43_rfkill_exit(struct b43_wldev
*dev
);
26 const char *b43_rfkill_led_name(struct b43_wldev
*dev
);
29 #else /* CONFIG_B43_RFKILL */
30 /* No RFKILL support. */
36 static inline void b43_rfkill_init(struct b43_wldev
*dev
)
39 static inline void b43_rfkill_exit(struct b43_wldev
*dev
)
42 static inline char * b43_rfkill_led_name(struct b43_wldev
*dev
)
47 #endif /* CONFIG_B43_RFKILL */
49 #endif /* B43_RFKILL_H_ */