diff options
author | Winkler, Tomas <tomas.winkler@intel.com> | 2008-12-18 21:37:34 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-01-29 15:59:18 -0500 |
commit | c2d79b488a33a77d337092c967ce50614edc5d25 (patch) | |
tree | 8cc6017c2cc01fb1cfda6d9f9de5bfcf23ed30bd /drivers/net/wireless/iwlwifi/iwl-3945-led.c | |
parent | 15b1687cb4f45b87ddbe4dfc7759ff5bb69497d2 (diff) |
iwlwifi: use iwl_cmd instead of iwl3945_cmd
This patch makes use of iwl_cmd instead of iwl3945_cmd and related
structures which were just the same.
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-3945-led.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-3945-led.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945-led.c b/drivers/net/wireless/iwlwifi/iwl-3945-led.c index 958e705ec336..10e68d64e6c7 100644 --- a/drivers/net/wireless/iwlwifi/iwl-3945-led.c +++ b/drivers/net/wireless/iwlwifi/iwl-3945-led.c | |||
@@ -68,7 +68,7 @@ static const struct { | |||
68 | #define IWL_SOLID_BLINK_IDX (ARRAY_SIZE(blink_tbl) - 1) | 68 | #define IWL_SOLID_BLINK_IDX (ARRAY_SIZE(blink_tbl) - 1) |
69 | 69 | ||
70 | static int iwl3945_led_cmd_callback(struct iwl_priv *priv, | 70 | static int iwl3945_led_cmd_callback(struct iwl_priv *priv, |
71 | struct iwl3945_cmd *cmd, | 71 | struct iwl_cmd *cmd, |
72 | struct sk_buff *skb) | 72 | struct sk_buff *skb) |
73 | { | 73 | { |
74 | return 1; | 74 | return 1; |
@@ -83,7 +83,7 @@ static inline int iwl3945_brightness_to_idx(enum led_brightness brightness) | |||
83 | static int iwl_send_led_cmd(struct iwl_priv *priv, | 83 | static int iwl_send_led_cmd(struct iwl_priv *priv, |
84 | struct iwl_led_cmd *led_cmd) | 84 | struct iwl_led_cmd *led_cmd) |
85 | { | 85 | { |
86 | struct iwl3945_host_cmd cmd = { | 86 | struct iwl_host_cmd cmd = { |
87 | .id = REPLY_LEDS_CMD, | 87 | .id = REPLY_LEDS_CMD, |
88 | .len = sizeof(struct iwl_led_cmd), | 88 | .len = sizeof(struct iwl_led_cmd), |
89 | .data = led_cmd, | 89 | .data = led_cmd, |