aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGabor Juhos <[email protected]>2013-07-08 11:25:55 +0200
committerJohn W. Linville <[email protected]>2013-07-22 16:54:28 -0400
commit379448fe34e289fdcc473399d4f6cac19e757fb8 (patch)
treec2989b0994d67f1500a7a07f4403f8a19309a9d4 /tools/perf/scripts/python
parent022138ca93f016374d5d3f69c070c75596c5ecac (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