From: Gabor Juhos Date: Mon, 10 Dec 2012 14:30:27 +0000 (+0100) Subject: ath9k: use 'struct ath_hw *' as the first argument for 'ath9k_hw_nvram_read' X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~17^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e4b9f2f12e94686855605eda64ea534a95d77f2;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed