diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-3945-led.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-3945-led.h | 22 |
1 files changed, 4 insertions, 18 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945-led.h b/drivers/net/wireless/iwlwifi/iwl-3945-led.h index 3b65642258ca..5a1033ca7aaa 100644 --- a/drivers/net/wireless/iwlwifi/iwl-3945-led.h +++ b/drivers/net/wireless/iwlwifi/iwl-3945-led.h | |||
@@ -24,23 +24,9 @@ | |||
24 | * | 24 | * |
25 | *****************************************************************************/ | 25 | *****************************************************************************/ |
26 | 26 | ||
27 | #ifndef IWL3945_LEDS_H | 27 | #ifndef __iwl_3945_led_h__ |
28 | #define IWL3945_LEDS_H | 28 | #define __iwl_3945_led_h__ |
29 | 29 | ||
30 | struct iwl_priv; | 30 | extern const struct iwl_led_ops iwl3945_led_ops; |
31 | 31 | ||
32 | #ifdef CONFIG_IWLWIFI_LEDS | 32 | #endif /* __iwl_3945_led_h__ */ |
33 | |||
34 | #include "iwl-led.h" | ||
35 | |||
36 | extern int iwl3945_led_register(struct iwl_priv *priv); | ||
37 | extern void iwl3945_led_unregister(struct iwl_priv *priv); | ||
38 | extern void iwl3945_led_background(struct iwl_priv *priv); | ||
39 | |||
40 | #else | ||
41 | static inline int iwl3945_led_register(struct iwl_priv *priv) { return 0; } | ||
42 | static inline void iwl3945_led_unregister(struct iwl_priv *priv) {} | ||
43 | static inline void iwl3945_led_background(struct iwl_priv *priv) {} | ||
44 | |||
45 | #endif /* IWLWIFI_LEDS*/ | ||
46 | #endif /* IWL3945_LEDS_H */ | ||