0001
0002
0003
0004
0005
0006
0007 #ifndef __iwl_leds_h__
0008 #define __iwl_leds_h__
0009
0010
0011 struct iwl_priv;
0012
0013 #define IWL_LED_SOLID 11
0014 #define IWL_DEF_LED_INTRVL cpu_to_le32(1000)
0015
0016 #define IWL_LED_ACTIVITY (0<<1)
0017 #define IWL_LED_LINK (1<<1)
0018
0019 #ifdef CONFIG_IWLWIFI_LEDS
0020 void iwlagn_led_enable(struct iwl_priv *priv);
0021 void iwl_leds_init(struct iwl_priv *priv);
0022 void iwl_leds_exit(struct iwl_priv *priv);
0023 #else
0024 static inline void iwlagn_led_enable(struct iwl_priv *priv)
0025 {
0026 }
0027 static inline void iwl_leds_init(struct iwl_priv *priv)
0028 {
0029 }
0030 static inline void iwl_leds_exit(struct iwl_priv *priv)
0031 {
0032 }
0033 #endif
0034
0035 #endif