diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-3945-led.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-3945-led.h | 24 |
1 files changed, 5 insertions, 19 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945-led.h b/drivers/net/wireless/iwlwifi/iwl-3945-led.h index 3b65642258ca..ce990adc51e7 100644 --- a/drivers/net/wireless/iwlwifi/iwl-3945-led.h +++ b/drivers/net/wireless/iwlwifi/iwl-3945-led.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /****************************************************************************** | 1 | /****************************************************************************** |
2 | * | 2 | * |
3 | * Copyright(c) 2003 - 2009 Intel Corporation. All rights reserved. | 3 | * Copyright(c) 2003 - 2010 Intel Corporation. All rights reserved. |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms of version 2 of the GNU General Public License as | 6 | * under the terms of version 2 of the GNU General Public License as |
@@ -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 */ | ||