diff options
author | Jonathan Cameron <jic23@cam.ac.uk> | 2010-05-04 13:42:58 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-11 18:36:05 (GMT) |
commit | f3fb001191a38a81bbc3cb363af2c279609ecc7c (patch) | |
tree | d2d17c61c682131e2c02deb536db2f35afa0169f /drivers/staging/iio/accel/sca3000.h | |
parent | ff7723e203349c18d7149e7cf2a4ae928bb9da69 (diff) | |
download | linux-fsl-qoriq-f3fb001191a38a81bbc3cb363af2c279609ecc7c.tar.xz |
iio:staging:accelerometers move towards the new abi
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/iio/accel/sca3000.h')
-rw-r--r-- | drivers/staging/iio/accel/sca3000.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/iio/accel/sca3000.h b/drivers/staging/iio/accel/sca3000.h index da7d3cb..e532199 100644 --- a/drivers/staging/iio/accel/sca3000.h +++ b/drivers/staging/iio/accel/sca3000.h @@ -187,6 +187,7 @@ struct sca3000_state { /** * struct sca3000_chip_info - model dependant parameters * @name: model identification + * @scale: string containing floating point scale factor * @temp_output: some devices have temperature sensors. * @measurement_mode_freq: normal mode sampling frequency * @option_mode_1: first optional mode. Not all models have one @@ -199,6 +200,7 @@ struct sca3000_state { **/ struct sca3000_chip_info { const char *name; + const char *scale; bool temp_output; int measurement_mode_freq; int option_mode_1; |