aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-led.c
diff options
context:
space:
mode:
authorAbhijeet Kolekar <abhijeet.kolekar@intel.com>2008-07-10 23:53:42 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-07-14 14:53:00 -0400
commit3eb2011a67b044859069359948579b942993c416 (patch)
treefffaaf6aeded6cc3c069aee708639e2b780808a6 /drivers/net/wireless/iwlwifi/iwl-led.c
parent9a9ad0cda72a651fc6b99fa9ec040a5d41005a88 (diff)
iwlwifi: make index unsigned int for iwl_send_led_cmd
This is a small fix to change the idx type from int to unsigned. Signed-off-by: Abhijeet Kolekar <abhijeet.kolekar@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-led.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-led.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-led.c b/drivers/net/wireless/iwlwifi/iwl-led.c
index 0c09b901a253..899d7a2567a8 100644
--- a/drivers/net/wireless/iwlwifi/iwl-led.c
+++ b/drivers/net/wireless/iwlwifi/iwl-led.c
@@ -106,7 +106,8 @@ static int iwl_send_led_cmd(struct iwl_priv *priv, struct iwl_led_cmd *led_cmd)
106} 106}
107 107
108/* Set led pattern command */ 108/* Set led pattern command */
109static int iwl4965_led_pattern(struct iwl_priv *priv, int led_id, int idx) 109static int iwl4965_led_pattern(struct iwl_priv *priv, int led_id,
110 unsigned int idx)
110{ 111{
111 struct iwl_led_cmd led_cmd = { 112 struct iwl_led_cmd led_cmd = {
112 .id = led_id, 113 .id = led_id,