diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-12-10 18:30:27 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-12-11 00:49:56 +0400 |
commit | 0e4b9f2f12e94686855605eda64ea534a95d77f2 (patch) | |
tree | 752ee51ab1bd44c4db76dc782a0625637fcd711b /lib/argv_split.c | |
parent | 7177d8f998c452701ad5352cca12408e26f80b07 (diff) | |
download | linux-0e4b9f2f12e94686855605eda64ea534a95d77f2.tar.xz |
ath9k: use 'struct ath_hw *' as the first argument for 'ath9k_hw_nvram_read'
The 'ath9k_hw_nvram_read' function takes a
'struct ath_common *' as its first argument.
Almost each of its caller has a 'struct ath_hw *'
parameter in their argument list, and that is
dereferenced in order to get the 'struct ath_common'
pointer.
Change the first argument of 'ath9k_hw_nvram_read'
to be a 'struct ath_hw *', and remove the dereference
calls from the callers.
Also change the type of the first argument of the
ar9300_eeprom_read_{byte,word} functions.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'lib/argv_split.c')
0 files changed, 0 insertions, 0 deletions