diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00leds.h')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00leds.h | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00leds.h b/drivers/net/wireless/rt2x00/rt2x00leds.h index 11e71e9ce853..9df4a49bdcad 100644 --- a/drivers/net/wireless/rt2x00/rt2x00leds.h +++ b/drivers/net/wireless/rt2x00/rt2x00leds.h | |||
@@ -26,18 +26,10 @@ | |||
26 | #ifndef RT2X00LEDS_H | 26 | #ifndef RT2X00LEDS_H |
27 | #define RT2X00LEDS_H | 27 | #define RT2X00LEDS_H |
28 | 28 | ||
29 | /* | ||
30 | * Flags used by driver to indicate which | ||
31 | * which led types are supported. | ||
32 | */ | ||
33 | #define LED_SUPPORT_RADIO 0x000001 | ||
34 | #define LED_SUPPORT_ASSOC 0x000002 | ||
35 | #define LED_SUPPORT_ACTIVITY 0x000004 | ||
36 | #define LED_SUPPORT_QUALITY 0x000008 | ||
37 | |||
38 | enum led_type { | 29 | enum led_type { |
39 | LED_TYPE_RADIO, | 30 | LED_TYPE_RADIO, |
40 | LED_TYPE_ASSOC, | 31 | LED_TYPE_ASSOC, |
32 | LED_TYPE_ACTIVITY, | ||
41 | LED_TYPE_QUALITY, | 33 | LED_TYPE_QUALITY, |
42 | }; | 34 | }; |
43 | 35 | ||
@@ -48,14 +40,9 @@ struct rt2x00_led { | |||
48 | struct led_classdev led_dev; | 40 | struct led_classdev led_dev; |
49 | 41 | ||
50 | enum led_type type; | 42 | enum led_type type; |
51 | unsigned int registered; | 43 | unsigned int flags; |
52 | }; | 44 | #define LED_INITIALIZED ( 1 << 0 ) |
53 | 45 | #define LED_REGISTERED ( 1 << 1 ) | |
54 | struct rt2x00_trigger { | ||
55 | struct led_trigger trigger; | ||
56 | |||
57 | enum led_type type; | ||
58 | unsigned int registered; | ||
59 | }; | 46 | }; |
60 | 47 | ||
61 | #endif /* CONFIG_RT2X00_LIB_LEDS */ | 48 | #endif /* CONFIG_RT2X00_LIB_LEDS */ |