| #define B43_LED_MAX_NAME_LEN 31 |
| /* The LED class device */ |
| struct led_classdev led_dev; |
| /* The index number of the LED. */ |
| /* If activelow is true, the LED is ON if the |
| * bit is switched off. */ |
| /* The unique name string for this LED device. */ |
| char name[B43_LED_MAX_NAME_LEN + 1]; |
| #define B43_LED_BEHAVIOUR 0x7F |
| #define B43_LED_ACTIVELOW 0x80 |
| /* LED behaviour values */ |
| void b43_leds_init(struct b43_wldev *dev); |
| void b43_leds_exit(struct b43_wldev *dev); |
| #else /* CONFIG_B43_LEDS */ |
| /* LED support disabled */ |
| static inline void b43_leds_init(struct b43_wldev *dev) |
| static inline void b43_leds_exit(struct b43_wldev *dev) |
| #endif /* CONFIG_B43_LEDS */ |