Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 134003
b: refs/heads/master
c: b5b8323
h: refs/heads/master
i:
  134001: 57bb49d
  133999: c53d576
v: v3
  • Loading branch information
Samuel Ortiz authored and John W. Linville committed Jan 29, 2009
1 parent ba0df29 commit c879837
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 17 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d9829a67f953379b5cab6b78ae8f7a879a591eb1
refs/heads/master: b5b83239e7a3540ff31db24249b90f9f6d7f5be8
16 changes: 1 addition & 15 deletions trunk/drivers/net/wireless/iwlwifi/iwl-3945-led.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,22 +30,8 @@
struct iwl3945_priv;

#ifdef CONFIG_IWL3945_LEDS
#define IWL_LED_SOLID 11
#define IWL_LED_NAME_LEN 31
#define IWL_DEF_LED_INTRVL __constant_cpu_to_le32(1000)

#define IWL_LED_ACTIVITY (0<<1)
#define IWL_LED_LINK (1<<1)

enum led_type {
IWL_LED_TRG_TX,
IWL_LED_TRG_RX,
IWL_LED_TRG_ASSOC,
IWL_LED_TRG_RADIO,
IWL_LED_TRG_MAX,
};

#include <linux/leds.h>
#include "iwl-led.h"

struct iwl3945_led {
struct iwl3945_priv *priv;
Expand Down
4 changes: 3 additions & 1 deletion trunk/drivers/net/wireless/iwlwifi/iwl-led.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

struct iwl_priv;

#ifdef CONFIG_IWLWIFI_LEDS
#if defined(CONFIG_IWLWIFI_LEDS) || defined(CONFIG_IWL3945_LEDS)
#include <linux/leds.h>

#define IWL_LED_SOLID 11
Expand All @@ -47,7 +47,9 @@ enum led_type {
IWL_LED_TRG_RADIO,
IWL_LED_TRG_MAX,
};
#endif

#ifdef CONFIG_IWLWIFI_LEDS

struct iwl_led {
struct iwl_priv *priv;
Expand Down

0 comments on commit c879837

Please sign in to comment.