8 #include <linux/types.h>
9 #include <linux/leds.h>
12 #define B43_LED_MAX_NAME_LEN 31
15 struct b43_wldev
*dev
;
16 /* The LED class device */
17 struct led_classdev led_dev
;
18 /* The index number of the LED. */
20 /* If activelow is true, the LED is ON if the
21 * bit is switched off. */
23 /* The unique name string for this LED device. */
24 char name
[B43_LED_MAX_NAME_LEN
+ 1];
27 #define B43_LED_BEHAVIOUR 0x7F
28 #define B43_LED_ACTIVELOW 0x80
29 /* LED behaviour values */
30 enum b43_led_behaviour
{
40 B43_LED_WEIRD
, //FIXME
45 void b43_leds_init(struct b43_wldev
*dev
);
46 void b43_leds_exit(struct b43_wldev
*dev
);
49 #else /* CONFIG_B43_LEDS */
50 /* LED support disabled */
56 static inline void b43_leds_init(struct b43_wldev
*dev
)
59 static inline void b43_leds_exit(struct b43_wldev
*dev
)
62 #endif /* CONFIG_B43_LEDS */
64 #endif /* B43_LEDS_H_ */
This page took 0.047241 seconds and 5 git commands to generate.