diff options
| author | Gabor Juhos <juhosg@openwrt.org> | 2013-07-08 13:25:55 +0400 |
|---|---|---|
| committer | John W. Linville <linville@tuxdriver.com> | 2013-07-23 00:54:28 +0400 |
| commit | 379448fe34e289fdcc473399d4f6cac19e757fb8 (patch) | |
| tree | c2989b0994d67f1500a7a07f4403f8a19309a9d4 /include | |
| parent | 022138ca93f016374d5d3f69c070c75596c5ecac (diff) | |
| download | linux-379448fe34e289fdcc473399d4f6cac19e757fb8.tar.xz | |
rt2x00: rt2800lib: introduce rt2800_eeprom_word_index helper
Instead of assign the offset value to the
enum directly use a new helper function to
convert a rt2800_eeprom_word enum into an
index of the rt2x00_dev->eeprom array.
The patch does not change the existing
behaviour, but makes it possible to add
support for three-chain devices which are
using a different EEPROM layout.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
