diff options
| author | Gabor Juhos <[email protected]> | 2013-07-08 11:25:55 +0200 |
|---|---|---|
| committer | John W. Linville <[email protected]> | 2013-07-22 16:54:28 -0400 |
| commit | 379448fe34e289fdcc473399d4f6cac19e757fb8 (patch) | |
| tree | c2989b0994d67f1500a7a07f4403f8a19309a9d4 /tools/perf/scripts/python | |
| parent | 022138ca93f016374d5d3f69c070c75596c5ecac (diff) | |
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 <[email protected]>
Acked-by: Gertjan van Wingerde <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions