aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwmc3200wifi/main.c
diff options
context:
space:
mode:
authorZhu Yi <yi.zhu@intel.com>2009-09-01 09:14:03 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-09-01 12:48:27 -0400
commit31452420ca956f2cf37f705c869e265c33894f07 (patch)
tree2b699a8294213067cea7257eb4fb33d76cb563ab /drivers/net/wireless/iwmc3200wifi/main.c
parentc7436273889e0ce511b317041f35344e92344885 (diff)
iwmc3200wifi: fix misuse of le16_to_cpu
Also mark some functions static. Signed-off-by: Zhu Yi <yi.zhu@intel.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwmc3200wifi/main.c')
-rw-r--r--drivers/net/wireless/iwmc3200wifi/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwmc3200wifi/main.c b/drivers/net/wireless/iwmc3200wifi/main.c
index c41fa8c5fa11..6cf2f0c0911e 100644
--- a/drivers/net/wireless/iwmc3200wifi/main.c
+++ b/drivers/net/wireless/iwmc3200wifi/main.c
@@ -128,8 +128,8 @@ static void iwm_disconnect_work(struct work_struct *work)
128 cfg80211_disconnected(iwm_to_ndev(iwm), 0, NULL, 0, GFP_KERNEL); 128 cfg80211_disconnected(iwm_to_ndev(iwm), 0, NULL, 0, GFP_KERNEL);
129} 129}
130 130
131int __iwm_up(struct iwm_priv *iwm); 131static int __iwm_up(struct iwm_priv *iwm);
132int __iwm_down(struct iwm_priv *iwm); 132static int __iwm_down(struct iwm_priv *iwm);
133 133
134static void iwm_reset_worker(struct work_struct *work) 134static void iwm_reset_worker(struct work_struct *work)
135{ 135{
@@ -559,7 +559,7 @@ static int iwm_channels_init(struct iwm_priv *iwm)
559 return 0; 559 return 0;
560} 560}
561 561
562int __iwm_up(struct iwm_priv *iwm) 562static int __iwm_up(struct iwm_priv *iwm)
563{ 563{
564 int ret; 564 int ret;
565 struct iwm_notif *notif_reboot, *notif_ack = NULL; 565 struct iwm_notif *notif_reboot, *notif_ack = NULL;
@@ -693,7 +693,7 @@ int iwm_up(struct iwm_priv *iwm)
693 return ret; 693 return ret;
694} 694}
695 695
696int __iwm_down(struct iwm_priv *iwm) 696static int __iwm_down(struct iwm_priv *iwm)
697{ 697{
698 int ret; 698 int ret;
699 699