iwlwifi: queue functions cleanup
authorTomas Winkler <tomas.winkler@intel.com>
Fri, 7 Mar 2008 01:36:53 +0000 (17:36 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 7 Mar 2008 21:03:01 +0000 (16:03 -0500)
commitc54b679ddcd91604fd0d144cd793a0ddbd0ae03d
tree3ebbedc13d2a64a1c6491ac29c5c3a18e934bc6b
parent34cf6ff6dd42cbc61fd652f893dcf71eed6052a5
iwlwifi: queue functions cleanup

This patch moves
1. iwl_queue_inc_wrap and int iwl_queue_dec_wrap
into  iwl-helpers.h these two functions are identical to common
for both iwl3956 and iwl4965
2. renames x2_queue_used to iwl3945_x2_queue_used
3. exports iwl3945_queue_space out of iwl3964-base.c

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-3945.h
drivers/net/wireless/iwlwifi/iwl-helpers.h
drivers/net/wireless/iwlwifi/iwl3945-base.c
drivers/net/wireless/iwlwifi/iwl4965-base.c