diff options
| author | H Hartley Sweeten <[email protected]> | 2012-10-29 17:07:11 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2012-10-30 10:50:13 -0700 |
| commit | 85c1dcbab4d002e1d6c537d88558bb20326d507d (patch) | |
| tree | ffd7c68cc1f319ac883ede7e1c04b45b7c1c5b33 /include/linux | |
| parent | 66be78f6883ad7472789d19530b2282c8737ead4 (diff) | |
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 <[email protected]>
Cc: Ian Abbott <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions