libertas: restyle Marvell & IEEE TLV structure names
[safe/jmp/linux-2.6] / drivers / net / wireless / rt2x00 / rt2x00leds.h
index 11e71e9..1046977 100644 (file)
@@ -1,5 +1,5 @@
 /*
-       Copyright (C) 2004 - 2008 rt2x00 SourceForge Project
+       Copyright (C) 2004 - 2009 rt2x00 SourceForge Project
        <http://rt2x00.serialmonkey.com>
 
        This program is free software; you can redistribute it and/or modify
 #ifndef RT2X00LEDS_H
 #define RT2X00LEDS_H
 
-/*
-* Flags used by driver to indicate which
- * which led types are supported.
- */
-#define LED_SUPPORT_RADIO      0x000001
-#define LED_SUPPORT_ASSOC      0x000002
-#define LED_SUPPORT_ACTIVITY   0x000004
-#define LED_SUPPORT_QUALITY    0x000008
-
 enum led_type {
        LED_TYPE_RADIO,
        LED_TYPE_ASSOC,
+       LED_TYPE_ACTIVITY,
        LED_TYPE_QUALITY,
 };
 
@@ -48,14 +40,9 @@ struct rt2x00_led {
        struct led_classdev led_dev;
 
        enum led_type type;
-       unsigned int registered;
-};
-
-struct rt2x00_trigger {
-       struct led_trigger trigger;
-
-       enum led_type type;
-       unsigned int registered;
+       unsigned int flags;
+#define LED_INITIALIZED                ( 1 << 0 )
+#define LED_REGISTERED         ( 1 << 1 )
 };
 
 #endif /* CONFIG_RT2X00_LIB_LEDS */