ath9k: move ath9k_hw_fbin2freq function to eeprom.h
authorGabor Juhos <juhosg@openwrt.org>
Mon, 16 Apr 2012 20:46:31 +0000 (22:46 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 17 Apr 2012 18:57:13 +0000 (14:57 -0400)
commit23bd7cedf1f1c97a5019de6f7736ab935d7cc6a3
tree1ed1e48edf1c61382258021b2acf8c98687300c5
parent86ae26d72191816fb6fdcf9094748fbae4d21779
ath9k: move ath9k_hw_fbin2freq function to eeprom.h

Both eeprom.c and ar9003_eeprom.c has an indentical
'ath9k_hw_fbin2freq' function. Move the function to
a common place and remove the duplicates.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
drivers/net/wireless/ath/ath9k/eeprom.c
drivers/net/wireless/ath/ath9k/eeprom.h