ath9k_hw: clean up EEPROM endian handling on AR9003
authorFelix Fietkau <nbd@openwrt.org>
Tue, 11 May 2010 15:23:03 +0000 (17:23 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 12 May 2010 20:39:07 +0000 (16:39 -0400)
Remove the double swapping of the descriptor data structure, instead
keep it little-endian (native format of the eeprom data), and byteswap
on access.
This allows sparse to verify endian access to the eeprom struct.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

No differences found