ath5k: initialize eeprom struct early on attach
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Thu, 10 Sep 2009 17:57:00 +0000 (10:57 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 7 Oct 2009 20:39:26 +0000 (16:39 -0400)
commit394317fc793eb25dbbda4432d29d97cd80f3b561
tree176773d060e3412f82fd0d8e6e5b3d8fd0041663
parent954fecea5d1df4d1dc7bf9a822a2fad308e8588e
ath5k: initialize eeprom struct early on attach

This fixes this sparse warning:

  CHECK   drivers/net/wireless/ath/ath5k/attach.c
drivers/net/wireless/ath/ath5k/attach.c:288:42: warning: symbol 'ee' shadows an earlier one
drivers/net/wireless/ath/ath5k/attach.c:109:34: originally declared here

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/attach.c