diff options
| author | H Hartley Sweeten <hartleys@visionengravers.com> | 2012-10-30 04:07:11 +0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-30 21:50:13 +0400 |
| commit | 85c1dcbab4d002e1d6c537d88558bb20326d507d (patch) | |
| tree | ffd7c68cc1f319ac883ede7e1c04b45b7c1c5b33 /include/linux | |
| parent | 66be78f6883ad7472789d19530b2282c8737ead4 (diff) | |
| download | linux-85c1dcbab4d002e1d6c537d88558bb20326d507d.tar.xz | |
staging: comedi: addi_eeprom: move the eeprom offset to addi_eeprom_readw()
All the addi_eeprom_readw() calls have the offset to the start of user
data (0x100) as part of the address calculation. Create a define for this
constant and move it's addition to the address into addi_eeprom_readw().
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
