]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdbedb2bba534b955f795c4d47563a7b434f1a70e
tree1ed1e48edf1c61382258021b2acf8c98687300c5
parent93b057fd90b89f972f9e93cafc96296adc4e0c7a
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